Misc bugfixes & balancing

This commit is contained in:
Anuken
2022-10-03 18:01:23 -04:00
parent eb1192cdbe
commit bd7a8ff02a
5 changed files with 11 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ abstract class TankComp implements Posc, Flyingc, Hitboxc, Unitc, ElevationMovec
@Override
public void update(){
//dust
if(walked && !headless && !inFogTo(player.team())){
if((walked || (net.client() && deltaLen() >= 0.01f)) && !headless && !inFogTo(player.team())){
treadEffectTime += Time.delta;
if(treadEffectTime >= 6f && type.treadRects.length > 0){
//first rect should always be at the back