From 9eb8492f4ab8daf15685128229489b7229cc1048 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 17 Nov 2024 09:16:43 -0500 Subject: [PATCH] Never allow editing world processors in campaign --- core/src/mindustry/core/Logic.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/core/Logic.java b/core/src/mindustry/core/Logic.java index af704fcd94..09c9e67e55 100644 --- a/core/src/mindustry/core/Logic.java +++ b/core/src/mindustry/core/Logic.java @@ -131,6 +131,7 @@ public class Logic implements ApplicationListener{ //enable building AI on campaign unless the preset disables it state.rules.coreIncinerates = true; + state.rules.allowEditWorldProcessors = false; state.rules.waveTeam.rules().infiniteResources = true; state.rules.waveTeam.rules().buildSpeedMultiplier *= state.getPlanet().enemyBuildSpeedMultiplier;