diff --git a/common/pr_cmds.c b/common/pr_cmds.c index 8f6a06d..724006b 100644 --- a/common/pr_cmds.c +++ b/common/pr_cmds.c @@ -963,8 +963,11 @@ void PF_cvar_set (void) val = G_STRING(OFS_PARM1); var = Cvar_FindVar(var_name); + if (!var) + var = Cvar_FindAlias(var_name); if (!var) { + // FIXME: make it Con_DPrintf? Con_Printf ("PF_cvar_set: variable %s not found\n", var_name); return; }