Optimize settler_map_iterate() loop
Map iteration loop in settler_map_iterate() checks some things about punit every round. Better would be to get them once outside the loop, and use just the result within the loop.
Map iteration loop in settler_map_iterate() checks some things about punit every round. Better would be to get them once outside the loop, and use just the result within the loop.