mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-19 20:27:44 +07:00
Fixes
This commit is contained in:
@ -261,7 +261,7 @@ public abstract class Unit extends DestructibleEntity implements SaveTrait, Targ
|
|||||||
|
|
||||||
moveVector.limit(flying ? 0.1f : 0.2f);
|
moveVector.limit(flying ? 0.1f : 0.2f);
|
||||||
|
|
||||||
applyImpulse(moveVector.x, moveVector.y);
|
velocity.add(moveVector.x / mass() * Time.delta(), moveVector.y / mass() * Time.delta());
|
||||||
|
|
||||||
Tile tile = world.tileWorld(x, y);
|
Tile tile = world.tileWorld(x, y);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user