From 7c7252030855df8c55abbccff5ecdf4599eb51f0 Mon Sep 17 00:00:00 2001 From: Areloch Date: Mon, 5 Aug 2019 02:04:12 -0500 Subject: [PATCH] Change to main.cs so the client/server core module execs after game modules have loaded --- Templates/BaseGame/game/main.cs.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Templates/BaseGame/game/main.cs.in b/Templates/BaseGame/game/main.cs.in index 1e3e37c44..131eb9f48 100644 --- a/Templates/BaseGame/game/main.cs.in +++ b/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.