feat(ui): always display Recreate Layout button to allow map terrain regeneration
This commit is contained in:
parent
b70789c306
commit
5dd6c84352
|
|
@ -118,14 +118,13 @@ export const Header: React.FC<HeaderProps> = ({
|
|||
API Docs ↗
|
||||
</a>
|
||||
|
||||
{playerCount > 0 && (
|
||||
<button
|
||||
onClick={onResetBoard}
|
||||
className="text-xs font-medium text-slate-400 hover:text-red-400 transition-colors px-3 py-1.5 rounded-lg border border-slate-800 hover:border-red-900/60 bg-slate-950/40"
|
||||
>
|
||||
Clear Board
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
onClick={onResetBoard}
|
||||
className="text-xs font-medium text-slate-400 hover:text-red-400 transition-colors px-3 py-1.5 rounded-lg border border-slate-800 hover:border-red-900/60 bg-slate-950/40"
|
||||
title="Regenerate map terrain and clear all players"
|
||||
>
|
||||
Recreate Layout
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={onQuickSpawn}
|
||||
|
|
|
|||
Loading…
Reference in New Issue