diff --git a/app/Http/Middleware/CheckGameStatus.php b/app/Http/Middleware/CheckGameStatus.php index b9c69af..5265286 100644 --- a/app/Http/Middleware/CheckGameStatus.php +++ b/app/Http/Middleware/CheckGameStatus.php @@ -31,7 +31,8 @@ class CheckGameStatus $settings->game_has_ended => redirect($settings->redirect_close), // * Game has started $settings->game_has_begun => $next($request), - default => throw new \RuntimeException('Unhandled game state') + // * The game will begun, but has no teaser activated. + default => redirect($settings->redirect_close) }; } }