fixed error in fireball due to the boom effect from upgrade #6
|
|
@ -10,6 +10,6 @@ func _on_body_entered(body: Node2D) -> void:
|
||||||
if fireball_aoe:
|
if fireball_aoe:
|
||||||
var boom = explosion_scene.instantiate()
|
var boom = explosion_scene.instantiate()
|
||||||
boom.global_position = global_position
|
boom.global_position = global_position
|
||||||
get_parent().add_child(boom)
|
get_parent().call_deferred("add_child", boom)
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue