mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
40ce444015
commit
effeb6e089
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue