From 161600a4123cd9ca4a1e52ddfa5704358f07817f Mon Sep 17 00:00:00 2001 From: Gene Walters Date: Wed, 10 Nov 2021 16:24:55 -0800 Subject: [PATCH] Removing old cry code that would load client.cfg for server launcher. Client.cfg should not be loaded by default. If you want to load a cfg then you should provide it via commandline (--console-command-file). Signed-off-by: Gene Walters --- Code/Legacy/CrySystem/SystemInit.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Code/Legacy/CrySystem/SystemInit.cpp b/Code/Legacy/CrySystem/SystemInit.cpp index d9ba3bb4c9..eaebfbb956 100644 --- a/Code/Legacy/CrySystem/SystemInit.cpp +++ b/Code/Legacy/CrySystem/SystemInit.cpp @@ -1186,12 +1186,6 @@ AZ_POP_DISABLE_WARNING InlineInitializationProcessing("CSystem::Init End"); - if (gEnv->IsDedicated()) - { - SCVarsClientConfigSink CVarsClientConfigSink; - LoadConfiguration("client.cfg", &CVarsClientConfigSink); - } - // Send out EBus event EBUS_EVENT(CrySystemEventBus, OnCrySystemInitialized, *this, startupParams);