Update stuff

This commit is contained in:
2023-09-10 12:18:02 -07:00
parent f67963b129
commit f0f02bbd17
117 changed files with 11343 additions and 13133 deletions

View File

@@ -1,7 +1,7 @@
using Godot;
using System.Linq;
public partial class AreaExit : Node3D
public partial class AreaExit : Area3D
{
[Export]
private int _levelIndex;
@@ -22,6 +22,9 @@ public partial class AreaExit : Node3D
GD.Print($"Exit reached by {character.Name}");
if (!_gameManager.Players.Any(x => x.CharactersLeftOnStage.Any()))
{
QueueFree();
_gameManager.OnLevelClear();
}
}
}