forked from team-sg/hero-mark-2
fix projectiles not killing player
This commit is contained in:
parent
7b0fb8ece5
commit
e1b5c498f3
6 changed files with 9 additions and 10 deletions
|
@ -49,7 +49,7 @@ func _physics_process(delta):
|
|||
if Game.get_sector(global_position) == Game.get_sector(collider.global_position):
|
||||
if Game.is_easy_mode:
|
||||
var easy_bullet = EasyBullet.instance()
|
||||
easy_bullet.target_group = "player"
|
||||
easy_bullet.target_group = "player_hitbox"
|
||||
easy_bullet.direction = sign(shoot_position.global_position.x - global_position.x)
|
||||
easy_bullet.global_position = shoot_position.global_position
|
||||
easy_bullet.speed = 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue