Bind completed Semuta exchanges to Truthtrance promises

This commit is contained in:
Quintine committed 2026-10-27 08:27:53 +11:00
1 parent 4c4bebe85e
commit b02839ce2a
24 files changed
+1014 -40

No files matched your search

+3 -2
View File
@@ -26,15 +26,16 @@ export function SemutaReaction({
<>
<p>A Treachery card was just discarded. Continue when you are ready.</p>
{reaction.blocked && <p className="fine">{reaction.blocked}</p>}
{reaction.passBlocked && <p className="fine">{reaction.passBlocked}</p>}
{reaction.passed ? (
<p aria-live="polite">You continued. Waiting for other seats.</p>
) : (
<div className="flex flex-wrap gap-2">
<Button
className="game-action min-h-11 whitespace-normal"
disabled={busy}
disabled={busy || !!reaction.passBlocked}
onClick={() => {
if (!busy) act({ type: 'semutaPass', event: reaction.event });
if (!busy && !reaction.passBlocked) act({ type: 'semutaPass', event: reaction.event });
}}
>
Continue