feat(state): wire enqueueAction through runtime and view model

This commit is contained in:
ginnoir
2026-06-11 18:21:12 -05:00
parent 7625e081fd
commit fce561b8e5
5 changed files with 38 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export function ActionPanel() {
<button
type="button"
key={action.id}
onClick={() => gameRuntime.startAction(action.id)}
onClick={() => gameRuntime.enqueueAction(action.id)}
className="relative overflow-hidden rounded-lg border border-slate-700 bg-slate-800/70 px-4 py-3 text-left transition-colors hover:border-amber-500/60 hover:bg-slate-800"
>
{isActive ? (