author | truebrain |
Mon, 25 Feb 2008 14:56:45 +0000 | |
branch | noai |
changeset 9762 | ad9c304c6c77 |
parent 9761 | 6c3e0f29a232 |
child 9763 | d6098707195b |
--- a/bin/ai/wrightai/main.nut Mon Feb 25 14:34:16 2008 +0000 +++ b/bin/ai/wrightai/main.nut Mon Feb 25 14:56:45 2008 +0000 @@ -349,7 +349,7 @@ } else if (ret < 0 && ticker == 0) { /* The AI failed to build a first airport and is deemed */ - this.ChangeName("FailedWrightAI"); + AICompany.SetCompanyName("FailedWrightAI"); print(this.name + ": Failed to build first airport route, now giving up building. Repaying loan. Have a nice day!"); AICompany.SetLoanAmount(0); return;