[HOTFIX] JoinRoom에서 상대방 ImageIndex 반환하도록 수정
This commit is contained in:
parent
8618e032d3
commit
2e611246d9
@ -65,6 +65,7 @@ module.exports = function(io, socket, gameState) {
|
|||||||
roomId: roomId,
|
roomId: roomId,
|
||||||
opponentRating: gameState.playerRating.get(matchedRoom.hostId),
|
opponentRating: gameState.playerRating.get(matchedRoom.hostId),
|
||||||
opponentNickname: gameState.nickname.get(matchedRoom.hostId),
|
opponentNickname: gameState.nickname.get(matchedRoom.hostId),
|
||||||
|
opponentImageIndex: gameState.imageIndex.get(matchedRoom.hostId),
|
||||||
isBlack: !isHostFirst
|
isBlack: !isHostFirst
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user