Old revision #piojqoyk3 | New revision #pzgax6cjj | ||
---|---|---|---|
1 | local alltiles = AIMap.GetMapSize(); | 1 | local alltiles = AIMap.GetMapSize(); |
2 | for (local tile = 0; tile < alltiles; tile++) { | 2 | for (local type = 0; type <= 8; type++) { |
3 | AIAirport.GetNearestTown(tile, AIAirport.AT_INTERCON); | 3 | for (local tile = 0; tile < alltiles; tile++) { |
4 | AIAirport.GetNearestTown(tile, type); | ||
5 | } | ||
4 | } | 6 | } |
5 | AIController.Break("Iterated all t | 5 | AIController.Break("Iterated all types and tiles"); |