chore(formatting)
This commit is contained in:
		
							parent
							
								
									9c2e78ceca
								
							
						
					
					
						commit
						a0980eedd2
					
				|  | @ -19,10 +19,9 @@ void ProjectilePool::_exit_tree() { | ||||||
| void ProjectilePool::set_data(Ref<PackedScene> data) { | void ProjectilePool::set_data(Ref<PackedScene> data) { | ||||||
|     if(!this->data.is_null()) { |     if(!this->data.is_null()) { | ||||||
|         this->active.clear(); |         this->active.clear(); | ||||||
|         for(Node3D *node : this->inactive) { |         for(Node3D *node : this->inactive) | ||||||
|             node->queue_free(); |             node->queue_free(); | ||||||
|     } |     } | ||||||
|     } |  | ||||||
|     this->data = data; |     this->data = data; | ||||||
|     if(!data.is_valid()) |     if(!data.is_valid()) | ||||||
|         return; |         return; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Sara
						Sara