We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a211dc commit 72e147fCopy full SHA for 72e147f
1 file changed
game_server/src/main/kotlin/com/imsproject/gameserver/business/games/FlourMillGame.kt
@@ -138,7 +138,7 @@ class FlourMillGame(
138
val timeServerCurr = timeHandler.timeServerCurrentTimeMillis().toString()
139
localStartTime = System.currentTimeMillis() + timeHandler.timeServerDelta
140
val toSend = GameRequest.builder(GameRequest.Type.START_GAME)
141
- .sessionId(timeServerCurr)
+ .sessionId(sessionId.toString())
142
.timestamp(timeServerCurr)
143
player1.sendTcp(toSend.data(listOf("left")).build().toJson())
144
player2.sendTcp(toSend.data(listOf("right")).build().toJson())
0 commit comments