feat(api): BAC-11 Websocket - Return to Lobby

This commit is contained in:
2025-12-01 20:03:04 +01:00
parent 9d3f3940a9
commit d34b9c4b38
3 changed files with 6 additions and 1 deletions

View File

@@ -73,6 +73,8 @@ class UserSession(val user: User, val host: Boolean, val gameLobby: GameLobby) e
case None =>
println("Player ID not found or is not a valid UUID.")
}
case "ReturnToLobby" =>
gameLobby.returnToLobby(this)
}
}
lock.unlock()