Fix that bug

This commit is contained in:
RochesterX
2025-04-20 12:35:58 -04:00
parent 134bfd51b4
commit ed88b7a378
4 changed files with 32 additions and 26 deletions

View File

@@ -205,6 +205,7 @@ namespace Game
if (GameManager.players.Count == 0) return;
StartGameEvent?.Invoke();
print("invoked startgameevent");
print("Starting game with mode: " + gameMode + " and map: " + map);
if (gameMode == GameMode.freeForAll)
{
@@ -326,6 +327,7 @@ namespace Game
// Trigger the end game event for any listeners
EndGameEvent?.Invoke();
print("invoked engameeveevt");
// Hide the leaderboard and timer UI if they exist
if (LeaderboardCanvas != null)