From 63d2a59042fb9d90a586ad85d8364de7c38aea8e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 6 Nov 2024 22:35:04 +0100 Subject: next commit --- Game/Client.gd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Game/Client.gd') diff --git a/Game/Client.gd b/Game/Client.gd index 2c3bb69..7ca26ec 100644 --- a/Game/Client.gd +++ b/Game/Client.gd @@ -16,16 +16,17 @@ var state: State : var current_stage: Stage +var selection: SelectionManager + var player: Player: get(): return Network.get_player(multiplayer.get_unique_id()) -func _ready(): - pass - - func initialize_stage(stage: Stage): + selection = preload("res://Game/Selection/SelectionManager.tscn").instantiate() + add_child(selection) + current_stage = stage -- cgit v1.2.3