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

@@ -137,7 +137,7 @@ public partial class GameManager : Node
foreach (var character in playerCharacters)
character.GetParent().RemoveChild(character);
var projectiles = GetTree().Root.GetChildren().OfType<Projectile>();
var projectiles = GetTree().GetNodesInGroup("Projectile").Where(x => !x.IsQueuedForDeletion());
foreach (var projectile in projectiles)
projectile.QueueFree();