From a77f64f2d0e9fdc35e0513448f7300d5c251edb0 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 8 Feb 2025 21:28:02 -0500 Subject: [PATCH] Cleanup 2 --- core/src/mindustry/world/blocks/campaign/LandingPad.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/src/mindustry/world/blocks/campaign/LandingPad.java b/core/src/mindustry/world/blocks/campaign/LandingPad.java index fdef011eeb..65202fd0cd 100644 --- a/core/src/mindustry/world/blocks/campaign/LandingPad.java +++ b/core/src/mindustry/world/blocks/campaign/LandingPad.java @@ -130,12 +130,6 @@ public class LandingPad extends Block{ public @Nullable Item arriving; public float liquidRemoved; - @Override - public void drawSelect(){ - super.drawSelect(); - drawItemSelection(config); - } - public void handleLanding(){ if(config == null) return; @@ -348,6 +342,8 @@ public class LandingPad extends Block{ @Override public void drawSelect(){ if(config != null){ + drawItemSelection(config); + float dx = x - size * tilesize/2f, dy = y + size * tilesize/2f, s = iconSmall / 4f; Draw.mixcol(Color.darkGray, 1f); Draw.rect(config.fullIcon, dx, dy - 1, s, s);