diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-10-13 11:14:43 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-10-13 11:14:43 +0200 |
commit | e82990eeafdf0be5d42d8aaa9b7fb6091e0d8435 (patch) | |
tree | ced53c3ec6168c68e63ae1083f6c6a34f99f4fa1 /Stages/Stage.gd | |
parent | 0697f674ec33f8381ba68cf064732ee40e6e584f (diff) |
Diffstat (limited to 'Stages/Stage.gd')
-rw-r--r-- | Stages/Stage.gd | 6 |
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() |