fix projectiles not killing player
This commit is contained in:
parent
7b0fb8ece5
commit
e1b5c498f3
6 changed files with 9 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue