mirror of https://github.com/OpenTTD/OpenTTD
pull/10424/head
parent
4c6b6c9d33
commit
548a9c41d5
|
@ -2064,7 +2064,7 @@ CommandCost CmdBuildIndustry(DoCommandFlag flags, TileIndex tile, IndustryType i
|
||||||
}
|
}
|
||||||
cur_company.Restore();
|
cur_company.Restore();
|
||||||
}
|
}
|
||||||
if (ret.Failed()) {
|
if (ret.Failed() && IsLocalCompany()) {
|
||||||
if (prospect_success) {
|
if (prospect_success) {
|
||||||
ShowErrorMessage(STR_ERROR_CAN_T_PROSPECT_INDUSTRY, STR_ERROR_NO_SUITABLE_PLACES_FOR_PROSPECTING, WL_INFO);
|
ShowErrorMessage(STR_ERROR_CAN_T_PROSPECT_INDUSTRY, STR_ERROR_NO_SUITABLE_PLACES_FOR_PROSPECTING, WL_INFO);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue