mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 02:50:33 +00:00
engine: cfgscript: fix userinfo cvars wrong dump to config
This commit is contained in:
parent
dc207a449c
commit
f3a40ac794
@ -240,7 +240,7 @@ int CSCR_WriteGameCVars( file_t *cfg, const char *scriptfilename )
|
||||
{
|
||||
// cvars will be placed in game.cfg and restored on map start
|
||||
if( var.flags & FCVAR_USERINFO )
|
||||
FS_Printf( cfg, "%s \"%s\"\n", var.name, cvar->string );
|
||||
FS_Printf( cfg, "setinfo %s \"%s\"\n", var.name, cvar->string );
|
||||
else FS_Printf( cfg, "%s \"%s\"\n", var.name, cvar->string );
|
||||
}
|
||||
count++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user