fx: readded merged function

This commit is contained in:
2026-03-01 15:59:49 +01:00
parent 241dfb3073
commit a11805ad30
3 changed files with 11 additions and 10 deletions

View File

@@ -16,6 +16,10 @@ func move(motion: Vector3, mod: float) -> void:
# Apply boundary to new position
position = GameManager.get_boundaried_position(position)
func handle_damage(dmg: int, src: Node) -> void:
if owner:
owner.handle_damage(dmg, src)
func duplicate_init() -> void:
var sight = $Sight
remove_child(sight)