瀏覽代碼

Update core.tscript

change the execution order so sfx is initialized right after rendering
marauder2k7 7 月之前
父節點
當前提交
c4a6159faa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/BaseGame/game/core/core.tscript

+ 1 - 1
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" );