aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/GameSession.gd
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/Game/GameSession/GameSession.gd')
-rw-r--r--game/src/Game/GameSession/GameSession.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/src/Game/GameSession/GameSession.gd b/game/src/Game/GameSession/GameSession.gd
index f085073..a07ce32 100644
--- a/game/src/Game/GameSession/GameSession.gd
+++ b/game/src/Game/GameSession/GameSession.gd
@@ -1,5 +1,6 @@
extends Control
+@export var _model_manager : ModelManager
@export var _game_session_menu : Control
func _ready() -> void:
@@ -7,6 +8,8 @@ func _ready() -> void:
if GameSingleton.setup_game(0) != OK:
push_error("Failed to setup game")
+ _model_manager.generate_units()
+
func _process(_delta : float) -> void:
GameSingleton.try_tick()