Fixed shields not working / Fixed player text not fading

This commit is contained in:
Anuken
2019-05-04 22:33:08 -04:00
parent a3f5583326
commit 13969bdd29
3 changed files with 3 additions and 2 deletions
@@ -492,6 +492,7 @@ public class Player extends Unit implements BuilderTrait, ShooterTrait{
@Override
public void update(){
hitTime -= Time.delta();
textFadeTime -= Time.delta() / (60 * 5);
if(Float.isNaN(x) || Float.isNaN(y)){
velocity.set(0f, 0f);