From 41f542ff7c0597aa0ead7c0cb54988ad3361357b Mon Sep 17 00:00:00 2001 From: HoYeon Lee Date: Sun, 21 Jul 2024 21:30:05 +0900 Subject: [PATCH] =?UTF-8?q?branch=20=EC=B6=A9=EB=8F=8C=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../draw/websocket/message/response/MafiaGameMessengerImpl.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/websocket/src/main/kotlin/com/xorker/draw/websocket/message/response/MafiaGameMessengerImpl.kt b/app/websocket/src/main/kotlin/com/xorker/draw/websocket/message/response/MafiaGameMessengerImpl.kt index 0e6d59eb..fba6e067 100644 --- a/app/websocket/src/main/kotlin/com/xorker/draw/websocket/message/response/MafiaGameMessengerImpl.kt +++ b/app/websocket/src/main/kotlin/com/xorker/draw/websocket/message/response/MafiaGameMessengerImpl.kt @@ -99,7 +99,7 @@ class MafiaGameMessengerImpl( val message = MafiaGameReadyMessage( MafiaGameReadyBody( turn = i + 1, - player = player.toResponse(), + player = player.toResponse(mafiaGameInfo.room.owner), ), ) messages[player.userId] = message @@ -125,7 +125,7 @@ class MafiaGameMessengerImpl( val mafiaPlayerResponses = turnList .map { - it.toResponse() + it.toResponse(mafiaGameInfo.room.owner) }.toList() val message = MafiaPlayerTurnListMessage(