fixed error in fireball due to the boom effect from upgrade

pull/6/head
Jaro Winkelhausen 2026-04-15 17:46:50 +02:00
parent 4a4a664fee
commit a3e1d23d79
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ func _on_body_entered(body: Node2D) -> void:
if fireball_aoe:
var boom = explosion_scene.instantiate()
boom.global_position = global_position
get_parent().add_child(boom)
get_parent().call_deferred("add_child", boom)
queue_free()