fixed issue #138

This commit is contained in:
pennyrigate 2023-06-30 18:38:57 -04:00
parent 15375271f6
commit 7ea93b421f
2 changed files with 2 additions and 17 deletions

View file

@ -16,7 +16,7 @@ func _process(delta):
if not is_instance_valid(player):
player = get_tree().get_nodes_in_group("player").pop_front()
else:
var current_sector = Game.get_sector(player.global_position + Vector2(0.0, -10.0))
var current_sector = Game.get_sector(player.global_position + Vector2(0.0, -5.0))
if scroll_h && current_sector.x != last_sector.x:
position.x = current_sector.x * Game.resolution.x
if respawn_h: