Changeset - r26741:eceaf8782188
[Not reviewed]
master
0 1 0
Tyler Trahan - 17 months ago 2023-01-12 19:03:39
tyler@tylertrahan.com
Fix #10333, c53f29d: Only show industry prospecting errors to local company (#10338)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -2064,7 +2064,7 @@ CommandCost CmdBuildIndustry(DoCommandFl
 
				}
 
				cur_company.Restore();
 
			}
 
			if (ret.Failed()) {
 
			if (ret.Failed() && IsLocalCompany()) {
 
				if (prospect_success) {
 
					ShowErrorMessage(STR_ERROR_CAN_T_PROSPECT_INDUSTRY, STR_ERROR_NO_SUITABLE_PLACES_FOR_PROSPECTING, WL_INFO);
 
				} else {
0 comments (0 inline, 0 general)