mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-17 01:11:18 +00:00
setfl command was not updating the userinfo/serverinfo directly, but waiting for a later cvarset to do it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5982 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bbd468d1f0
commit
2599af212a
1 changed files with 1 additions and 1 deletions
|
@ -3846,8 +3846,8 @@ static void Cmd_set_f(void)
|
||||||
{
|
{
|
||||||
if (docalc)
|
if (docalc)
|
||||||
text = If_Token(text, &end, IF_PRI_MAX);
|
text = If_Token(text, &end, IF_PRI_MAX);
|
||||||
Cvar_Set(var, text);
|
|
||||||
var->flags |= CVAR_USERCREATED | forceflags;
|
var->flags |= CVAR_USERCREATED | forceflags;
|
||||||
|
Cvar_Set(var, text);
|
||||||
|
|
||||||
if (Cmd_ExecLevel == RESTRICT_TEAMPLAY)
|
if (Cmd_ExecLevel == RESTRICT_TEAMPLAY)
|
||||||
var->flags |= CVAR_TEAMPLAYTAINT;
|
var->flags |= CVAR_TEAMPLAYTAINT;
|
||||||
|
|
Loading…
Reference in a new issue