Feature: allow to do a hostile takeover of an AI company (in singleplayer) (#10914)
With the removal of the share-system, you could no longer make an AI disappear in a single player game. At least, not without going into the console.
This commit is contained in:
@@ -119,7 +119,7 @@ bool ScriptEventEnginePreview::AcceptPreview()
|
||||
bool ScriptEventCompanyAskMerger::AcceptMerger()
|
||||
{
|
||||
EnforceCompanyModeValid(false);
|
||||
return ScriptObject::Command<CMD_BUY_COMPANY>::Do((::CompanyID)this->owner);
|
||||
return ScriptObject::Command<CMD_BUY_COMPANY>::Do((::CompanyID)this->owner, false);
|
||||
}
|
||||
|
||||
ScriptEventAdminPort::ScriptEventAdminPort(const std::string &json) :
|
||||
|
Reference in New Issue
Block a user