feat(game): implement tie resolution and enhance player interaction

43 [Subtask] UI looks better and improved
This commit is contained in:
2025-11-12 11:44:34 +01:00
parent c45fb0caf3
commit ca1c7bd2ac
5 changed files with 93 additions and 70 deletions

View File

@@ -320,7 +320,7 @@ class IngameController @Inject()(
val session = g.getUserSession(request.user.id)
optSession = Some(session)
session.lock.lock()
g.selectTie(g.getUserSession(request.user.id), tie.toInt)
g.selectTie(g.getUserSession(request.user.id), tie.toInt - 1)
}
optSession.foreach(_.lock.unlock())
if (result.isSuccess) {