feat(ui): always display Recreate Layout button to allow map terrain regeneration

This commit is contained in:
Isaac Johnson 2026-09-06 08:44:46 -05:00
parent b70789c306
commit 5dd6c84352
1 changed files with 7 additions and 8 deletions

View File

@ -118,14 +118,13 @@ export const Header: React.FC<HeaderProps> = ({
API Docs API Docs
</a> </a>
{playerCount > 0 && (
<button <button
onClick={onResetBoard} 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" 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"
> >
Clear Board Recreate Layout
</button> </button>
)}
<button <button
onClick={onQuickSpawn} onClick={onQuickSpawn}