From d6db91738ceee5cce9e7b7efc32bec89a83fa790 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Wed, 24 May 2023 09:14:41 +0100 Subject: Date fix + string fix + Logger queue --- game/src/Autoload/Events.gd | 2 ++ game/src/GameSession/GameSession.gd | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'game') diff --git a/game/src/Autoload/Events.gd b/game/src/Autoload/Events.gd index 0193a08..8800041 100644 --- a/game/src/Autoload/Events.gd +++ b/game/src/Autoload/Events.gd @@ -25,6 +25,8 @@ const _compatibility_mode_path : String = "" # REQUIREMENTS # * FS-333, FS-334, FS-335, FS-341 func _ready(): + GameSingleton.setup_logger() + var start := Time.get_ticks_usec() if _compatibility_mode_path: diff --git a/game/src/GameSession/GameSession.gd b/game/src/GameSession/GameSession.gd index 556b98e..5bb1c2f 100644 --- a/game/src/GameSession/GameSession.gd +++ b/game/src/GameSession/GameSession.gd @@ -4,7 +4,7 @@ extends Control func _ready(): Events.Options.load_settings_from_file() - if GameSingleton.setup() != OK: + if GameSingleton.setup_game() != OK: push_error("Failed to setup game") func _process(delta : float): -- cgit v1.2.3-56-ga3b1