From edfba93f83624145ecf992180430a30e4fd9396f Mon Sep 17 00:00:00 2001 From: LQ63 Date: Wed, 5 Nov 2025 02:19:26 +0100 Subject: [PATCH] feat(ui): added working ingame ui Added ingame ui with bootstrap. There were problems with the lock procedure --- knockoutwhistweb/app/controllers/IngameController.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knockoutwhistweb/app/controllers/IngameController.scala b/knockoutwhistweb/app/controllers/IngameController.scala index 1f19c51..373701d 100644 --- a/knockoutwhistweb/app/controllers/IngameController.scala +++ b/knockoutwhistweb/app/controllers/IngameController.scala @@ -84,7 +84,7 @@ class IngameController @Inject()( game.get.leaveGame(playerToKick) 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) game.get.leaveGame(request.user.id) Redirect(routes.MainMenuController.mainMenu())