Browse Source

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

Areloch 6 years ago
parent
commit
7c72520308
1 changed files with 3 additions and 0 deletions
  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.