Explorar el Código

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

Areloch hace 6 años
padre
commit
7c72520308
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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.