Bind current Traitor declarations with Truthtrance

This commit is contained in:
Quintine committed 2026-10-25 19:23:14 +11:00
1 parent 724eabf99c
commit 86608f7ea9
20 files changed
+1362 -35

No files matched your search

+2 -1
View File
@@ -165,7 +165,7 @@ function ReturnCards({ game, act, busy }: Props) {
className="shrink-0"
checked={checked}
disabled={
blocked || (!checked && selected.length >= pending.count)
blocked || (!checked && (!!choice.blocked || selected.length >= pending.count))
}
onChange={() =>
setSelected((old) =>
@@ -184,6 +184,7 @@ function ReturnCards({ game, act, busy }: Props) {
</span>
</span>
</label>
{choice.blocked && <p className="notice">{choice.blocked}</p>}
<LeaderInspector
identity={identity}
kind={dancers ? 'faceDancer' : 'traitor'}