git fix: this time i changed the positioning of the respawn points in one of our vertical levels, echo mountain

This commit is contained in:
penelope 2023-05-29 03:03:20 -04:00
parent 016a304303
commit 19638bb520
3 changed files with 23 additions and 53 deletions

View file

@ -9,5 +9,5 @@ func _on_RespawnPoint_area_entered(area):
var player = area.get_parent()
Game.respawn_point = Vector2(
player.global_position.x if match_h else global_position.x,
player.global_position.y if match_v else global_position.y - 10
player.global_position.y if match_v else global_position.y
)