mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Draw armor region under armor shader (#7751)
This commit is contained in:
parent
a003e0b31e
commit
860fc888c4
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ public class ArmorPlateAbility extends Ability{
|
|||
Shaders.armor.progress = warmup;
|
||||
Shaders.armor.time = -Time.time / 20f;
|
||||
|
||||
Draw.rect(Shaders.armor.region, unit.x, unit.y, unit.rotation - 90f);
|
||||
Draw.color(color);
|
||||
Draw.shader(Shaders.armor);
|
||||
Draw.rect(Shaders.armor.region, unit.x, unit.y, unit.rotation - 90f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue