From c4a6159faad86a21543bc01d696dfd886ef0f0e4 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Sun, 26 Jan 2025 21:04:52 +0000 Subject: [PATCH] Update core.tscript change the execution order so sfx is initialized right after rendering --- Templates/BaseGame/game/core/core.tscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/core/core.tscript b/Templates/BaseGame/game/core/core.tscript index 07122e787..1732114dc 100644 --- a/Templates/BaseGame/game/core/core.tscript +++ b/Templates/BaseGame/game/core/core.tscript @@ -20,10 +20,10 @@ function CoreModule::onCreate(%this) ProjectSettings.read(); ModuleDatabase.LoadExplicit( "Core_Rendering" ); + ModuleDatabase.LoadExplicit( "Core_SFX" ); ModuleDatabase.LoadExplicit( "Core_Utility" ); ModuleDatabase.LoadExplicit( "Core_GUI" ); ModuleDatabase.LoadExplicit( "Core_Lighting" ); - ModuleDatabase.LoadExplicit( "Core_SFX" ); ModuleDatabase.LoadExplicit( "Core_PostFX" ); ModuleDatabase.LoadExplicit( "Core_GameObjects" );