diff options
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 374e378f7..05846c96f 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1245,7 +1245,7 @@ DEF_CONSOLE_CMD(ConStopAI) return true; } - if (Company::IsHumanID(company_id)) { + if (Company::IsHumanID(company_id) || company_id == _local_company) { IConsoleWarning("Company is not controlled by an AI."); return true; } |