bin/ai/wrightai/main.nut
branchnoai
changeset 9855 cbbeaace78b5
parent 9851 a5f5a7cf2b61
child 10650 30fc5395b1b8
equal deleted inserted replaced
9854:209d3423ef16 9855:cbbeaace78b5
   347 				/* No more route found, delay even more before trying to find an other */
   347 				/* No more route found, delay even more before trying to find an other */
   348 				this.delay_build_airport_route = 10000;
   348 				this.delay_build_airport_route = 10000;
   349 			}
   349 			}
   350 			else if (ret < 0 && ticker == 0) {
   350 			else if (ret < 0 && ticker == 0) {
   351 				/* The AI failed to build a first airport and is deemed */
   351 				/* The AI failed to build a first airport and is deemed */
   352 				AICompany.SetCompanyName("FailedWrightAI");
   352 				AICompany.SetCompanyName("Failed " + this.name);
   353 				AILog.Error("Failed to build first airport route, now giving up building. Repaying loan. Have a nice day!");
   353 				AILog.Error("Failed to build first airport route, now giving up building. Repaying loan. Have a nice day!");
   354 				AICompany.SetLoanAmount(0);
   354 				AICompany.SetLoanAmount(0);
   355 				return;
   355 				return;
   356 			}
   356 			}
   357 		}
   357 		}