diff --git a/core/src/mindustry/core/Control.java b/core/src/mindustry/core/Control.java index 08c811f0f1..4f5990dcab 100644 --- a/core/src/mindustry/core/Control.java +++ b/core/src/mindustry/core/Control.java @@ -225,7 +225,7 @@ public class Control implements ApplicationListener, Loadable{ Effect.shake(5f, 5f, core); core.thrusterTime = 1f; - if(state.isCampaign() && Vars.showSectorLandInfo){ + if(state.isCampaign() && Vars.showSectorLandInfo && (state.rules.sector.preset == null || state.rules.sector.preset.showSectorLandInfo)){ ui.announce("[accent]" + state.rules.sector.name() + "\n" + (state.rules.sector.info.resources.any() ? "[lightgray]" + bundle.get("sectors.resources") + "[white] " + state.rules.sector.info.resources.toString(" ", u -> u.emoji()) : ""), 5); diff --git a/core/src/mindustry/type/SectorPreset.java b/core/src/mindustry/type/SectorPreset.java index 3aa2743dc2..63ff4fe509 100644 --- a/core/src/mindustry/type/SectorPreset.java +++ b/core/src/mindustry/type/SectorPreset.java @@ -18,6 +18,7 @@ public class SectorPreset extends UnlockableContent{ public float difficulty; public float startWaveTimeMultiplier = 2f; public boolean addStartingItems = false; + public boolean showSectorLandInfo = true; public SectorPreset(String name, Planet planet, int sector){ super(name);