Fix check
This commit is contained in:
parent
438f97f8b2
commit
9a5e5988d5
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ var config_newlines_sizelimit: int
|
|||
# +++ module +++
|
||||
func _cleanup() -> void:
|
||||
for instance in instances:
|
||||
if !is_instance_valid(instance):
|
||||
if is_instance_valid(instance):
|
||||
loggeri.diag("Removing instance '" + instance.name + "'")
|
||||
instance.queue_free()
|
||||
|
||||
|
|
Loading…
Reference in a new issue