From 03544dda4696b2d6313e82e3aeac3bdb2068259f Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 1 Sep 2025 01:13:01 -0400 Subject: [PATCH] Always show remove ore/wall in in-game editor block select --- core/src/mindustry/ui/fragments/HudFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ui/fragments/HudFragment.java b/core/src/mindustry/ui/fragments/HudFragment.java index 538cbfa5c2..b741a6089a 100644 --- a/core/src/mindustry/ui/fragments/HudFragment.java +++ b/core/src/mindustry/ui/fragments/HudFragment.java @@ -121,7 +121,7 @@ public class HudFragment{ || (!block.inEditor && !(block instanceof RemoveWall) && !(block instanceof RemoveOre)) || !block.isOnPlanet(state.rules.planet) || block.buildVisibility == BuildVisibility.debugOnly - || (!searchText.isEmpty() && !block.localizedName.toLowerCase().contains(searchText.trim().replaceAll(" +", " ").toLowerCase())) + || (!searchText.isEmpty() && !(block == Blocks.removeOre || block == Blocks.removeWall) && !block.localizedName.toLowerCase().contains(searchText.trim().replaceAll(" +", " ").toLowerCase())) ) continue; ImageButton button = new ImageButton(Tex.whiteui, Styles.clearNoneTogglei);