diff --git a/core/assets/maps/frontier.msav b/core/assets/maps/frontier.msav index 3d10ae7d51..fde3f6d03a 100644 Binary files a/core/assets/maps/frontier.msav and b/core/assets/maps/frontier.msav differ diff --git a/core/src/mindustry/core/World.java b/core/src/mindustry/core/World.java index 67f398eb72..8852976c90 100644 --- a/core/src/mindustry/core/World.java +++ b/core/src/mindustry/core/World.java @@ -464,12 +464,15 @@ public class World{ } public void checkMapArea(int x, int y, int w, int h){ - for(var build : Groups.build){ - //if the map area contracts, disable the block - build.checkAllowUpdate(); - //reset map-area-based disabled blocks that were not in the previous map area - if(!build.enabled && build.block.autoResetEnabled && !Rect.contains(x, y, w, h, build.tile.x, build.tile.y)){ - build.enabled = true; + for(var team : state.teams.present){ + for(var build : team.buildings){ + //reset map-area-based disabled blocks that were not in the previous map area + if(!build.enabled && build.block.autoResetEnabled && !Rect.contains(x, y, w, h, build.tile.x, build.tile.y)){ + build.enabled = true; + } + + //if the map area contracts, disable the block + build.checkAllowUpdate(); } } }