diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index eac7325f0e..58a9ae756a 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -1181,10 +1181,6 @@ public class UnitType extends UnlockableContent{ drawShield(unit); } - if(mech != null){ - unit.trns(-legOffset.x, -legOffset.y); - } - //TODO how/where do I draw under? if(parts.size > 0){ for(int i = 0; i < parts.size; i++){ @@ -1212,6 +1208,10 @@ public class UnitType extends UnlockableContent{ } } + if(mech != null){ + unit.trns(-legOffset.x, -legOffset.y); + } + Draw.reset(); }