diff --git a/core/src/io/anuke/mindustry/maps/Sectors.java b/core/src/io/anuke/mindustry/maps/Sectors.java index 5af3602acb..ed55cf86df 100644 --- a/core/src/io/anuke/mindustry/maps/Sectors.java +++ b/core/src/io/anuke/mindustry/maps/Sectors.java @@ -269,8 +269,19 @@ public class Sectors{ Array out = Settings.getObject("sectors", Array.class, Array::new); for(Sector sector : out){ + short x = sector.x; + short y = sector.y; + int w = sector.width; + int h = sector.height; + createTexture(sector); initSector(sector); + + sector.x = x; + sector.y = y; + sector.width = w; + sector.height = h; + for(int cx = 0; cx < sector.width; cx++){ for(int cy = 0; cy < sector.height; cy++){ grid.put(sector.x + cx, sector.y + cy, sector);