fixed error in fireball due to the boom effect from upgrade (#6)

Reviewed-on: #6
Co-authored-by: 3002102 <3002102@stud.hs-mannheim.de>
Co-committed-by: 3002102 <3002102@stud.hs-mannheim.de>
pull/7/head
Jaro Winkelhausen 2026-04-15 17:47:27 +02:00 committed by Jaro Winkelhausen
parent 4a4a664fee
commit 6a2b122343
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()