diff --git a/core/src/mindustry/type/SectorPreset.java b/core/src/mindustry/type/SectorPreset.java index b23c909de2..3c6b885d8d 100644 --- a/core/src/mindustry/type/SectorPreset.java +++ b/core/src/mindustry/type/SectorPreset.java @@ -39,10 +39,8 @@ public class SectorPreset extends UnlockableContent{ /** Internal use only! */ public SectorPreset(String name, LoadedMod mod){ super(name); - if(mod != null){ - this.minfo.mod = mod; - } - this.generator = new FileMapGenerator(this.name, this); + this.minfo.mod = mod; + this.generator = new FileMapGenerator(name, this); } /** Internal use only! */