feat(ui): added working ingame ui

Added ingame ui with bootstrap. There were problems with the lock procedure
This commit is contained in:
LQ63
2025-11-05 02:19:26 +01:00
parent 4f7eed9ac4
commit edfba93f83

View File

@@ -84,7 +84,7 @@ class IngameController @Inject()(
game.get.leaveGame(playerToKick) game.get.leaveGame(playerToKick)
Redirect(routes.IngameController.game(gameId)) Redirect(routes.IngameController.game(gameId))
} }
def leaveGame(gameId: String): Action[AnyContent] = authAction { implicit request: AuthenticatedRequest[AnyContent] => def leaveGame(gameId: String): Action[AnyContent] = authAction { implicit request: AuthenticatedRequest[AnyContent] =>
val game = podManager.getGame(gameId) val game = podManager.getGame(gameId)
game.get.leaveGame(request.user.id) game.get.leaveGame(request.user.id)
Redirect(routes.MainMenuController.mainMenu()) Redirect(routes.MainMenuController.mainMenu())