mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
parent
a3e6f82150
commit
79374bc003
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user