Various sync fixes

This commit is contained in:
Anuken
2020-05-24 17:01:17 -04:00
parent d202c6ebdd
commit 3051598b92
14 changed files with 71 additions and 79 deletions
@@ -9,7 +9,8 @@ import mindustry.gen.*;
abstract class VelComp implements Posc{
@Import float x, y;
final Vec2 vel = new Vec2();
//TODO @SyncLocal this? does it even need to be sent?
transient final Vec2 vel = new Vec2();
transient float drag = 0f;
//velocity needs to be called first, as it affects delta and lastPosition