diff --git a/core/src/mindustry/world/Tile.java b/core/src/mindustry/world/Tile.java index 95282758dd..45fad8a3e0 100644 --- a/core/src/mindustry/world/Tile.java +++ b/core/src/mindustry/world/Tile.java @@ -293,7 +293,9 @@ public class Tile implements Position, QuadTreeObject, Displayable{ if(build != null){ build.onProximityUpdate(); } - pathfinder.updateTile(this); + if(!world.isGenerating() && pathfinder != null){ + pathfinder.updateTile(this); + } } public boolean isEditorTile(){