From 3b1e1435d64a5e09c5cc99ec7c79a9e68a59986e Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 30 Aug 2025 10:53:13 -0400 Subject: [PATCH] Fixed #11191 --- core/src/mindustry/type/UnitType.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index 2e3dc7f2cc..646c4f12d5 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -1536,9 +1536,12 @@ public class UnitType extends UnlockableContent implements Senseable{ public void drawPayload(T unit){ if(unit.hasPayload()){ + float prev = Draw.z(); + Draw.z(prev - 0.02f); Payload pay = unit.payloads().first(); pay.set(unit.x, unit.y, unit.rotation); pay.draw(); + Draw.z(prev); } }