Draw armor region under armor shader (#7751)

This commit is contained in:
MEEPofFaith 2022-10-22 14:45:10 -07:00 committed by GitHub
parent a003e0b31e
commit 860fc888c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);