From 1c8f1b08f5a047d8330c822f23c23e410fc7ee24 Mon Sep 17 00:00:00 2001 From: Resistencia Dev Date: Fri, 5 Dec 2025 23:46:43 +0100 Subject: [PATCH] =?UTF-8?q?Debug:=20Agregar=20info=20de=20facci=C3=B3n=20y?= =?UTF-8?q?=20rol=20en=20fase=20MISSION?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Muestra facción y rol del jugador - Ayuda a identificar por qué algunos espías no ven carta de sabotaje --- client/src/components/GameBoard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/GameBoard.tsx b/client/src/components/GameBoard.tsx index d11f386..d07f264 100644 --- a/client/src/components/GameBoard.tsx +++ b/client/src/components/GameBoard.tsx @@ -510,8 +510,10 @@ export default function GameBoard({ gameState, currentPlayerId, actions }: GameB

{/* DEBUG INFO - TEMPORAL */} -
+
Debug: Tu ID: {currentPlayerId} | Equipo: [{gameState.proposedTeam.join(', ')}] +
+ Tu facción: {currentPlayer?.faction || 'UNDEFINED'} | Rol: {currentPlayer?.role || 'UNDEFINED'}
{/* Cartas en orden aleatorio */}