Old revision #piojqoyk3 | New revision #pizf1oyp4 | ||
---|---|---|---|
1 | local alltiles = AIMap.GetMapSize(); | 1 | local alltiles = AIMap.GetMapSize(); |
2 | for (local tile = 0; tile < alltiles; tile++) { | 2 | for (local tile = 0; tile < alltiles; tile++) { |
3 | AIAirport.GetNearestTown(tile, AIAirport.AT_INTERCON); | 3 | AIAirport.GetNearestTown(AIBase.RandRange(alltiles), AIAirport.AT_INTERCON); |
4 | } | 4 | } |
5 | AIController.Break("Iterated all tiles"); |