I am doing a CHAOS check in. showing support for one another. I need SIX jacks to post, not share, this message to show you are always there to kill chaos if someone needs it. let's go gentlemen...

This commit is contained in:
2023-09-04 16:11:05 -07:00
parent 4d0b0196e6
commit b315a90720
8 changed files with 71 additions and 29 deletions

View File

@@ -21,11 +21,7 @@ public partial class AreaExit : Node3D
if (node.GetType() == typeof(Character2))
_gameManager.RemoveCharacterAndAddToExit((Character2)node);
var main = GetTree().Root.GetNode<Main>("/root/Main");
if (!_gameManager.Players.ElementAt(0).CharactersLeftOnStage.Any())
{
if (!_gameManager.Players.Any(x => x.CharactersLeftOnStage.Any()))
_gameManager.OnLevelClear();
main.LoadNextLevel(_levelIndex);
}
}
}