mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 23:32:06 +00:00
Settings command using Menu is working
This commit is contained in:
parent
d4d200349e
commit
f0875aecc6
1 changed files with 2 additions and 1 deletions
|
@ -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\""));
|
||||
|
|
Loading…
Reference in a new issue