diff --git a/Test.gd b/Test.gd index 23ee90b..771dd61 100644 --- a/Test.gd +++ b/Test.gd @@ -31,7 +31,7 @@ func _init() -> void: config.headless = false config.development = true # Initialize CORE with custom config - core = Core.new(config) + core = await Core.new(config) config.free() diff --git a/tests/unitbase.gd b/tests/unitbase.gd index fd93501..9b212fc 100644 --- a/tests/unitbase.gd +++ b/tests/unitbase.gd @@ -33,7 +33,7 @@ func load_framework(config: CoreConfiguration = CoreConfiguration.new()) -> void if is_framework_loaded(): await unload_framework() ldiag("Loading framework") config.logger_level = CoreTypes.LoggerLevel.DIAG - core = Core.new(config) + core = await Core.new(config) get_tree().root.add_child(core) core.welcomed = true # Hides the welcome message shown by CORE so it doesn't bloat the log await get_tree().process_frame