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

@ -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