Settings command using Menu is working

This commit is contained in:
Daniel Simoes 2002-07-04 16:05:32 +00:00
parent d4d200349e
commit f0875aecc6

View file

@ -565,8 +565,9 @@ void MM_Settings_f(gentity_t * ent) {
return;
//Invalid Data SENT
if(trap_Argc()!= NR_SETTVARS)
if(trap_Argc()-1!= NR_SETTVARS) {
return;
}
if((g_RQ3_mmflags.integer & MMF_SETTINGS) != MMF_SETTINGS) {
trap_SendServerCommand(ent - g_entities, va("print \""MM_DENY_COLOR "This server does not allow you to change settings\n\""));