diff --git a/core/src/mindustry/ui/fragments/PlacementFragment.java b/core/src/mindustry/ui/fragments/PlacementFragment.java index a94fcfc236..13af141ecc 100644 --- a/core/src/mindustry/ui/fragments/PlacementFragment.java +++ b/core/src/mindustry/ui/fragments/PlacementFragment.java @@ -66,6 +66,7 @@ public class PlacementFragment extends Fragment{ public PlacementFragment(){ Events.on(WorldLoadEvent.class, event -> { Core.app.post(() -> { + currentCategory = Category.distribution; control.input.block = null; rebuild(); }); @@ -87,7 +88,7 @@ public class PlacementFragment extends Fragment{ } void rebuild(){ - currentCategory = Category.distribution; + //category does not change on rebuild anymore, only on new world load Group group = toggler.parent; int index = toggler.getZIndex(); toggler.remove();