From 3db3ff78588ea97a227adc9956bbbcb864bbcc18 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 22:01:43 -0500 Subject: [PATCH] [ui-pvp] placeholder board labels follow duel-core action fields Co-Authored-By: Claude Opus 5.5 --- src/game/OnlinePlay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/OnlinePlay.tsx b/src/game/OnlinePlay.tsx index adf81ac..ae41c52 100644 --- a/src/game/OnlinePlay.tsx +++ b/src/game/OnlinePlay.tsx @@ -134,7 +134,7 @@ export type DuelEntry = { kind: 'quick' } | { kind: 'private' } | { kind: 'invit function DuelBoardPlaceholder({ legal, onAct, opponent }: { legal: unknown[]; onAct: (a: unknown) => void; opponent: string }) { const label = (a: unknown) => { const o = (a && typeof a === 'object' ? a : {}) as Record; - const parts = [o.type, o.card ?? o.cardId ?? o.instanceId, o.target].filter(x => typeof x === 'string' || typeof x === 'number'); + const parts = [o.type, o.uid, o.blocker, o.attacker].filter(x => typeof x === 'string' || typeof x === 'number'); return parts.join(' ยท ').slice(0, 60) || 'action'; }; return