瀏覽代碼

Change to main.cs so the client/server core module execs after game modules have loaded

Areloch 6 年之前
父節點
當前提交
7c72520308
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Templates/BaseGame/game/main.cs.in

+ 3 - 0
Templates/BaseGame/game/main.cs.in

@@ -25,6 +25,9 @@ ModuleDatabase.LoadExplicit( "CoreModule" );
 ModuleDatabase.scanModules( "data", false );
 ModuleDatabase.LoadGroup( "Game" );
 
+//Finally, initialize the client/server structure
+ModuleDatabase.LoadExplicit( "Core_ClientServer" );
+
 if( !$isDedicated )
 {
    // Start rendering and stuff.