feat(state): wire enqueueAction through runtime and view model
This commit is contained in:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user