fix projectiles not killing player

This commit is contained in:
Haze Weathers 2023-05-10 14:34:03 -04:00
parent 7b0fb8ece5
commit e1b5c498f3
6 changed files with 9 additions and 10 deletions

View file

@ -33,7 +33,7 @@ func spawn_arrow():
else:
arrow.global_position = global_position + arrow_spawn_l.position
arrow.direction = scale.x
arrow.target_group = "player"
arrow.target_group = "player_hitbox"
arrow.speed = arrow_speed
Game.get_map().add_child(arrow)
timer.start(shoot_time)