game: fix warning in enemy base
This commit is contained in:
@@ -142,7 +142,7 @@ func drop_xp_orb() -> void:
|
||||
var orb: XPOrb = preload("res://scenes/xp_orb.tscn").instantiate()
|
||||
orb.value = 5
|
||||
orb.position = position
|
||||
get_parent().add_child(orb)
|
||||
get_parent().call_deferred("add_child", orb)
|
||||
|
||||
|
||||
func _on_animation_player_animation_finished(anim_name: StringName) -> void:
|
||||
|
Reference in New Issue
Block a user