Fix sv_public getting the wrong value in dedicated servers, and possibly other weird crashes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5596 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-01-01 07:46:41 +00:00
parent 40ce444015
commit effeb6e089
1 changed files with 1 additions and 1 deletions

View File

@ -5367,7 +5367,7 @@ void SV_InitLocal (void)
Cvar_Register (&sv_resetparms, cvargroup_servercontrol);
if (isDedicated)
sv_public.string = "1";
sv_public.enginevalue = "1";
Cvar_Register (&sv_guidhash, cvargroup_servercontrol);
Cvar_Register (&sv_serverip, cvargroup_servercontrol);