forked from team-sg/hero-mark-2
player.tscn: scholar of the first bullet casings
This commit is contained in:
parent
79cbd62a69
commit
bc57ba4171
45 changed files with 1429 additions and 113 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue