From fe2f4b7f7b46ec3584a6feafa927d1cec0d810d3 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Fri, 10 May 2024 20:10:55 +0200 Subject: [PATCH] Rename statemanager.gd to presenloader.gd --- src/loader.gd | 8 ++++---- src/{statemanager.gd => presenloader.gd} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/{statemanager.gd => presenloader.gd} (75%) diff --git a/src/loader.gd b/src/loader.gd index 8627ace..69a4a89 100644 --- a/src/loader.gd +++ b/src/loader.gd @@ -56,10 +56,10 @@ along with this program. If not, see .""") logger.info("Initializing internals") # Load state manager - var statemanager: Node = Node.new() - statemanager.name = "State Manager" - statemanager.set_script(load("res://src/statemanager.gd")) - get_tree().root.add_child(statemanager) + var presenloader: Node = Node.new() + presenloader.name = "Presentation loader" + presenloader.set_script(load("res://src/presenloader.gd")) + get_tree().root.add_child(presenloader) # Decide whenether to load a presentation or the UI if args["load_presentation"]: diff --git a/src/statemanager.gd b/src/presenloader.gd similarity index 75% rename from src/statemanager.gd rename to src/presenloader.gd index 5fb4e79..7e4e6dc 100644 --- a/src/statemanager.gd +++ b/src/presenloader.gd @@ -1,10 +1,10 @@ extends Node @onready var core: Core = get_node("/root/CORE") -@onready var logger: CoreLoggerInstance = core.logger.get_instance("src/statemanager.gd", self) +@onready var logger: CoreLoggerInstance = core.logger.get_instance("src/presenloader.gd", self) func _ready() -> void: # Register cleanup hook core.register_cleanup_hook(func() -> void: queue_free()) - logger.verb("State manager is ready") + logger.info("Presentation loader is ready")