Fixed trail length bug / Base projector classes

This commit is contained in:
Anuken
2018-09-06 12:25:38 -04:00
parent f47fb01614
commit 6e6edf8322
4 changed files with 22 additions and 2 deletions
@@ -70,7 +70,7 @@ public class Bullet extends BulletEntity<BulletType> implements TeamTrait, SyncT
bullet.lastPosition().set(x - bullet.velocity.x * backDelta, y - bullet.velocity.y * backDelta, bullet.angle());
bullet.setLastUpdated(TimeUtils.millis());
bullet.setUpdateSpacing((long) ((Timers.delta() / 60f) * 1000));
bullet.set(x - bullet.velocity.x * backDelta, y - bullet.velocity.y * backDelta);
bullet.set(x, y);
bullet.add();
}