mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
Payload deconstructor rotation bugfix
This commit is contained in:
parent
1dc013ee76
commit
04b711946e
@ -69,7 +69,7 @@ public class PayloadDeconstructor extends PayloadBlock{
|
||||
|
||||
//TODO looks really bad
|
||||
Draw.draw(Layer.blockOver, () -> {
|
||||
Drawf.construct(x, y, deconstructing.icon(), Pal.remove, payRotation - 90f, 1f - progress, 1f - progress, time);
|
||||
Drawf.construct(x, y, deconstructing.icon(), Pal.remove, deconstructing instanceof BuildPayload ? 0f : payRotation - 90f, 1f - progress, 1f - progress, time);
|
||||
Draw.color(Pal.remove);
|
||||
Draw.alpha(1f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user