mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 18:09:09 +00:00
@@ -1713,6 +1713,11 @@ DEF_CONSOLE_CMD(ConPart)
|
||||
|
||||
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;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user