Added a message that was missing.

This commit is contained in:
Daniel Simoes 2002-07-07 21:12:52 +00:00
parent f73e5c1f02
commit 62d915c324

View file

@ -460,10 +460,16 @@ void Ref_Command(gentity_t * ent)
trap_SendServerCommand(ent - g_entities, "print\"map <map_to_go>\n\""); trap_SendServerCommand(ent - g_entities, "print\"map <map_to_go>\n\"");
return; return;
} else if (Q_stricmp(com, "lockSettings") == 0) { } else if (Q_stricmp(com, "lockSettings") == 0) {
if(level.settingsLocked) if(level.settingsLocked) {
level.settingsLocked = qfalse; level.settingsLocked = qfalse;
else trap_SendServerCommand(ent - g_entities,
va("print \""MM_OK_COLOR"Settings are now unLocked\n\""));
}
else {
level.settingsLocked = qtrue; level.settingsLocked = qtrue;
trap_SendServerCommand(ent - g_entities,
va("print \""MM_OK_COLOR"Settings are now Locked\n\""));
}
return; return;
} else if (Q_stricmp(com, "kick") == 0) { // kick kick kick } else if (Q_stricmp(com, "kick") == 0) { // kick kick kick
trap_Argv(2, com, sizeof(com)); trap_Argv(2, com, sizeof(com));