Skip to content

Commit 72e147f

Browse files
committed
fixed small bug in server
1 parent 4a211dc commit 72e147f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • game_server/src/main/kotlin/com/imsproject/gameserver/business/games

game_server/src/main/kotlin/com/imsproject/gameserver/business/games/FlourMillGame.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class FlourMillGame(
138138
val timeServerCurr = timeHandler.timeServerCurrentTimeMillis().toString()
139139
localStartTime = System.currentTimeMillis() + timeHandler.timeServerDelta
140140
val toSend = GameRequest.builder(GameRequest.Type.START_GAME)
141-
.sessionId(timeServerCurr)
141+
.sessionId(sessionId.toString())
142142
.timestamp(timeServerCurr)
143143
player1.sendTcp(toSend.data(listOf("left")).build().toJson())
144144
player2.sendTcp(toSend.data(listOf("right")).build().toJson())

0 commit comments

Comments
 (0)