merge fixes

This commit is contained in:
Jonas Mucke
2020-04-20 13:40:39 +02:00
parent d57645e5a2
commit 37ccf67677
4 changed files with 12 additions and 15 deletions

View File

@@ -118,7 +118,7 @@ func get_nearest(position, kind):
func _update_grid():
_reset_grids()
var world = get_tree().current_scene.get_node("../YSort")
var world = get_tree().current_scene.get_node("YSort")
for node in world.get_children():
var node_kind = node.get_node("Kind")
var grid_corrds = _pixel_to_grid_coords(node.global_position)