diff --git a/socket/handlers/matchmaking.js b/socket/handlers/matchmaking.js index e907d3b..9667e4e 100644 --- a/socket/handlers/matchmaking.js +++ b/socket/handlers/matchmaking.js @@ -65,6 +65,7 @@ module.exports = function(io, socket, gameState) { roomId: roomId, opponentRating: gameState.playerRating.get(matchedRoom.hostId), opponentNickname: gameState.nickname.get(matchedRoom.hostId), + opponentImageIndex: gameState.imageIndex.get(matchedRoom.hostId), isBlack: !isHostFirst });