This commit is contained in:
2023-09-04 20:50:50 -07:00
parent 2d2dea616c
commit ef3045b3d2
12 changed files with 428 additions and 38 deletions

View File

@@ -88,7 +88,7 @@ public partial class GameManager : Node
if (!P1CharactersOut.Any() && !Players.ElementAt(0).CharactersLeftOnStage.Any())
SetGameOver(Players.ElementAt(0), true);
if (!P2CharactersOut.Any() && !Players.ElementAt(1).CharactersLeftOnStage.Any())
if (Players.Count() == 2 && !P2CharactersOut.Any() && !Players.ElementAt(1).CharactersLeftOnStage.Any())
SetGameOver(Players.ElementAt(1), true);
}