Merge branch 'let-there-be-var' into 'master'

Change netvars in replays

See merge request KartKrew/Kart!234
This commit is contained in:
Sal 2020-04-22 16:40:29 -04:00
commit e23027d678

View file

@ -1543,7 +1543,7 @@ static void CV_SetCVar(consvar_t *var, const char *value, boolean stealth)
} }
// Only add to netcmd buffer if in a netgame, otherwise, just change it. // Only add to netcmd buffer if in a netgame, otherwise, just change it.
if (netgame || multiplayer) if (netgame)
{ {
WRITEUINT16(p, var->netid); WRITEUINT16(p, var->netid);
WRITESTRING(p, value); WRITESTRING(p, value);