mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove FCVAR_DEVELOPMENTONLY from 'origin_disconnectWhenOffline'
Allow 100% offline play in retail mode.
This commit is contained in:
parent
c18dbc2270
commit
cf824aa2fc
@ -230,6 +230,9 @@ void ConVar::InitShipped(void) const
|
||||
stream_overlay_mode = g_pCVar->FindVar("stream_overlay_mode");
|
||||
sv_visualizetraces = g_pCVar->FindVar("sv_visualizetraces");
|
||||
old_gather_props = g_pCVar->FindVar("old_gather_props");
|
||||
#ifndef DEDICATED
|
||||
origin_disconnectWhenOffline = g_pCVar->FindVar("origin_disconnectWhenOffline");
|
||||
#endif // !DEDICATED
|
||||
mp_gamemode = g_pCVar->FindVar("mp_gamemode");
|
||||
hostname = g_pCVar->FindVar("hostname");
|
||||
hostip = g_pCVar->FindVar("hostip");
|
||||
@ -243,6 +246,7 @@ void ConVar::InitShipped(void) const
|
||||
#ifndef DEDICATED
|
||||
cl_threaded_bone_setup->RemoveFlags(FCVAR_DEVELOPMENTONLY);
|
||||
rui_defaultDebugFontFace->RemoveFlags(FCVAR_DEVELOPMENTONLY);
|
||||
origin_disconnectWhenOffline->RemoveFlags(FCVAR_DEVELOPMENTONLY);
|
||||
#endif // !DEDICATED
|
||||
mp_gamemode->RemoveChangeCallback(mp_gamemode->m_fnChangeCallbacks[0]);
|
||||
mp_gamemode->InstallChangeCallback(MP_GameMode_Changed_f, false);
|
||||
|
@ -133,6 +133,8 @@ ConVar* con_suggestion_limit = nullptr;
|
||||
ConVar* con_suggestion_showhelptext = nullptr;
|
||||
ConVar* con_suggestion_showflags = nullptr;
|
||||
ConVar* con_suggestion_flags_realtime = nullptr;
|
||||
|
||||
ConVar* origin_disconnectWhenOffline = nullptr;
|
||||
#endif // !DEDICATED
|
||||
//-----------------------------------------------------------------------------
|
||||
// FILESYSTEM |
|
||||
|
@ -128,6 +128,8 @@ extern ConVar* con_suggestion_limit;
|
||||
extern ConVar* con_suggestion_showhelptext;
|
||||
extern ConVar* con_suggestion_showflags;
|
||||
extern ConVar* con_suggestion_flags_realtime;
|
||||
|
||||
extern ConVar* origin_disconnectWhenOffline;
|
||||
#endif // !DEDICATED
|
||||
//-------------------------------------------------------------------------
|
||||
// FILESYSTEM |
|
||||
|
Loading…
x
Reference in New Issue
Block a user