@@ -1704,24 +1704,29 @@ DEF_CONSOLE_CMD(ConExit)
return true;
}
DEF_CONSOLE_CMD(ConPart)
{
if (argc == 0) {
IConsolePrint(CC_HELP, "Leave the currently joined/running game (only ingame). Usage: 'part'.");
if (_game_mode != GM_NORMAL) return false;
if (_network_dedicated) {
IConsolePrint(CC_ERROR, "A dedicated server can not leave the game.");
return false;
_switch_mode = SM_MENU;
DEF_CONSOLE_CMD(ConHelp)
if (argc == 2) {
const IConsoleCmd *cmd;
const IConsoleAlias *alias;
cmd = IConsole::CmdGet(argv[1]);
if (cmd != nullptr) {
Status change: