fixat mer med traps och arrows och grejjer
This commit is contained in:
@@ -25,8 +25,8 @@ func _ready():
|
||||
_apply_color_replacements()
|
||||
$SfxSwosh.play()
|
||||
$AnimationPlayer.play("flying")
|
||||
# Connect area signals
|
||||
if hit_area:
|
||||
# Connect area signals (only if not already connected)
|
||||
if hit_area and not hit_area.body_entered.is_connected(_on_body_entered):
|
||||
hit_area.body_entered.connect(_on_body_entered)
|
||||
|
||||
func setup(direction: Vector2, owner_player: Node, damage_value: float = 20.0, staff_item: Item = null):
|
||||
|
||||
Reference in New Issue
Block a user