chore(formatting)
This commit is contained in:
parent
9c2e78ceca
commit
a0980eedd2
|
@ -19,9 +19,8 @@ void ProjectilePool::_exit_tree() {
|
|||
void ProjectilePool::set_data(Ref<PackedScene> 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())
|
||||
|
|
Loading…
Reference in a new issue