This commit is contained in:
Anuken
2019-05-04 10:44:21 -04:00
parent a1624f61ae
commit a4fd88a440
3 changed files with 6 additions and 5 deletions

View File

@@ -416,8 +416,6 @@ public class Player extends Unit implements BuilderTrait, ShooterTrait{
Draw.color(0f, 0f, 0f, 0.3f * (textFadeTime <= 0 || lastText == null ? 1f : visualFadeTime));
Fill.rect(x, y + textHeight + layout.height - layout.height/2f, layout.width + 2, layout.height + 3);
font.draw(text, x - width/2f, y + textHeight + layout.height, width, Align.center, true);
textFadeTime -= Time.delta() / (60 * 5);
}
Draw.reset();