[HOTFIX] JoinRoom에서 상대방 ImageIndex 반환하도록 수정

This commit is contained in:
Jay 2025-03-26 11:45:47 +09:00
parent 8618e032d3
commit 2e611246d9

View File

@ -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
}); });