diff --git a/core/src/mindustry/ai/Pathfinder.java b/core/src/mindustry/ai/Pathfinder.java index f841a2f57e..f42197fb8a 100644 --- a/core/src/mindustry/ai/Pathfinder.java +++ b/core/src/mindustry/ai/Pathfinder.java @@ -98,10 +98,12 @@ public class Pathfinder implements Runnable{ //don't bother setting up paths unless necessary if(state.rules.waveTeam.needsFlowField() && !net.client()){ preloadPath(getField(state.rules.waveTeam, costGround, fieldCore)); + Log.debug("Preloading ground enemy flowfield."); //preload water on naval maps if(spawner.getSpawns().contains(t -> t.floor().isLiquid)){ preloadPath(getField(state.rules.waveTeam, costNaval, fieldCore)); + Log.debug("Preloading naval enemy flowfield."); } } diff --git a/core/src/mindustry/core/Control.java b/core/src/mindustry/core/Control.java index 07564dc93f..2df8c21504 100644 --- a/core/src/mindustry/core/Control.java +++ b/core/src/mindustry/core/Control.java @@ -217,7 +217,7 @@ public class Control implements ApplicationListener, Loadable{ boolean anyBuilds = false; for(var build : state.rules.defaultTeam.data().buildings){ - if(!(build instanceof CoreBuild)){ + if(!(build instanceof CoreBuild) && !build.block.privileged){ var ccore = build.closestCore(); if(ccore != null && build.within(ccore, state.rules.enemyCoreBuildRadius)){ diff --git a/core/src/mindustry/graphics/FloorRenderer.java b/core/src/mindustry/graphics/FloorRenderer.java index fb2354e63d..43cbc2578a 100644 --- a/core/src/mindustry/graphics/FloorRenderer.java +++ b/core/src/mindustry/graphics/FloorRenderer.java @@ -385,7 +385,7 @@ public class FloorRenderer{ } } - Log.debug("Time to cache: @", Time.elapsed()); + Log.debug("Generated world mesh: @ms", Time.elapsed()); } }