player.tscn: scholar of the first bullet casings

This commit is contained in:
Haze Weathers 2023-05-08 01:00:38 -04:00
parent 79cbd62a69
commit bc57ba4171
45 changed files with 1429 additions and 113 deletions

View file

@ -4,7 +4,7 @@ export var match_h = false
export var match_v = true
func _on_RespawnPoint_area_entered(area):
if area.is_in_group("player"):
if area.is_in_group("player_hitbox"):
if Game.get_sector(global_position) != Game.get_sector(Game.respawn_point):
var player = area.get_parent()
Game.respawn_point = Vector2(