aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/dedicated.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-10-22 00:56:49 +0100
committerGitHub <noreply@github.com>2022-10-22 00:56:49 +0100
commitca6269431c5d1e4e91687b2ab7fd7ee2f311a2e0 (patch)
treebf3a121c0584c57a8c3b20a89e381bb858a27bf9 /NorthstarDLL/dedicated.cpp
parent64450087ea3b737f74798cd9c0ce8b0abca37918 (diff)
downloadNorthstarLauncher-ca6269431c5d1e4e91687b2ab7fd7ee2f311a2e0.tar.gz
NorthstarLauncher-ca6269431c5d1e4e91687b2ab7fd7ee2f311a2e0.zip
Fixup more cvars (#294)v1.10.0-rc3
* fixup more cvar flags, mainly devonly ones that shouldn't be devonly * fix formatting
Diffstat (limited to 'NorthstarDLL/dedicated.cpp')
-rw-r--r--NorthstarDLL/dedicated.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/dedicated.cpp b/NorthstarDLL/dedicated.cpp
index 251e2437..7d9bc42a 100644
--- a/NorthstarDLL/dedicated.cpp
+++ b/NorthstarDLL/dedicated.cpp
@@ -224,6 +224,7 @@ ON_DLL_LOAD_DEDI_RELIESON("engine.dll", DedicatedServer, ServerPresence, (CModul
Tier0::CommandLine()->AppendParm("-nomessagebox", 0);
Tier0::CommandLine()->AppendParm("+host_preload_shaders", "0");
Tier0::CommandLine()->AppendParm("+net_usesocketsforloopback", "1");
+ Tier0::CommandLine()->AppendParm("+community_frame_run", "0");
// use presence reporter for console title
DedicatedConsoleServerPresence* presenceReporter = new DedicatedConsoleServerPresence;
@@ -274,6 +275,7 @@ void, __fastcall, (void* sqvm))
PrintSquirrelError(sqvm);
// close dedicated server if a fatal error is hit
+ // atm, this will crash if not aborted, so this just closes more gracefully
static ConVar* Cvar_fatal_script_errors = g_pCVar->FindVar("fatal_script_errors");
if (Cvar_fatal_script_errors->GetBool())
abort();