fix: Fix p_child is null exit on quit
This commit is contained in:
committed by
Julian Murgia
parent
3e90c67035
commit
4604e00648
@@ -24,8 +24,8 @@ func _ready():
|
||||
|
||||
|
||||
func _exit_tree():
|
||||
remove_child(_tween)
|
||||
if is_instance_valid(_tween):
|
||||
remove_child(_tween)
|
||||
_tween.queue_free()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user