private void SetInternal(string name, string value, CvarFlags flags) { idInternalCvar intern = FindInternal(name); if (intern != null) { intern.SetStringInternal(value); intern.Flags |= flags & ~CvarFlags.Static; intern.UpdateCheat(); } else { idConsole.Warning("Tried to set unknown cvar '{0}'", name); intern = new idInternalCvar(name, value, flags); _cvarList.Add(intern.Name, intern); } }