From a0980eedd299e687cc3457361e243796fa91b9ba Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 19 Mar 2024 14:14:37 +0100 Subject: [PATCH] chore(formatting) --- src/projectile_pool.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/projectile_pool.cpp b/src/projectile_pool.cpp index b306741..170f404 100644 --- a/src/projectile_pool.cpp +++ b/src/projectile_pool.cpp @@ -19,9 +19,8 @@ void ProjectilePool::_exit_tree() { void ProjectilePool::set_data(Ref data) { if(!this->data.is_null()) { this->active.clear(); - for(Node3D *node : this->inactive) { + for(Node3D *node : this->inactive) node->queue_free(); - } } this->data = data; if(!data.is_valid())