|
|
@ -104,7 +104,6 @@ const MyGraphComponent: React.FC<MyGraphComponentProps> = ({onNodeClick, handleS
|
|
|
|
onNodeClick(false)
|
|
|
|
onNodeClick(false)
|
|
|
|
playerIndex = newPlayerIndex
|
|
|
|
playerIndex = newPlayerIndex
|
|
|
|
networkData.nodes.update({id: id, label: node.label + colorToEmoji(color, works)})
|
|
|
|
networkData.nodes.update({id: id, label: node.label + colorToEmoji(color, works)})
|
|
|
|
console.log(playerIndex + " => " + thisPlayerIndex)
|
|
|
|
|
|
|
|
if (playerIndex === thisPlayerIndex){
|
|
|
|
if (playerIndex === thisPlayerIndex){
|
|
|
|
handleShowTurnBar(true)
|
|
|
|
handleShowTurnBar(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|