summaryrefslogtreecommitdiff
path: root/Stages/Stage.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Stages/Stage.gd')
-rw-r--r--Stages/Stage.gd6
1 files changed, 4 insertions, 2 deletions
diff --git a/Stages/Stage.gd b/Stages/Stage.gd
index e958b86..cdffca9 100644
--- a/Stages/Stage.gd
+++ b/Stages/Stage.gd
@@ -9,9 +9,11 @@ static var path_grid: AStarGrid2D
static var last_solid_set_points: Array[Vector2]
-func _ready() -> void:
+func _init() -> void:
Client.initialize_stage(self)
-
+
+
+func _ready() -> void:
map = get_node("%Map")
path_grid = AStarGrid2D.new()