Made grid more adaptable

Just gotta say... to make it possion-dependend is really stupid.
This commit is contained in:
Paul Norberger
2020-04-19 22:38:53 +02:00
parent 331d32e2c0
commit 8f152d420d

View File

@@ -38,7 +38,7 @@ func _reset_grids():
func _ready():
var walls = get_tree().current_scene.get_child(1)
var walls = get_tree().current_scene.get_node("FloorTileMap")
offset = walls.global_position
#todo put in grid_lul
for x in range(14):