Debug: Agregar info de facción y rol en fase MISSION
- Muestra facción y rol del jugador - Ayuda a identificar por qué algunos espías no ven carta de sabotaje
This commit is contained in:
@@ -510,8 +510,10 @@ export default function GameBoard({ gameState, currentPlayerId, actions }: GameB
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
{/* DEBUG INFO - TEMPORAL */}
|
{/* DEBUG INFO - TEMPORAL */}
|
||||||
<div className="text-xs text-gray-400 bg-black/50 p-2 rounded">
|
<div className="text-xs text-gray-400 bg-black/50 p-2 rounded mb-4">
|
||||||
Debug: Tu ID: {currentPlayerId} | Equipo: [{gameState.proposedTeam.join(', ')}]
|
Debug: Tu ID: {currentPlayerId} | Equipo: [{gameState.proposedTeam.join(', ')}]
|
||||||
|
<br />
|
||||||
|
Tu facción: {currentPlayer?.faction || 'UNDEFINED'} | Rol: {currentPlayer?.role || 'UNDEFINED'}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Cartas en orden aleatorio */}
|
{/* Cartas en orden aleatorio */}
|
||||||
|
|||||||
Reference in New Issue
Block a user