diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Pawn.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java index 35973fb..3d414ef 100644 --- a/core/src/ch/asynk/tankontank/engine/Pawn.java +++ b/core/src/ch/asynk/tankontank/engine/Pawn.java @@ -122,6 +122,7 @@ public abstract class Pawn implements Moveable, Disposable { position.set(prevPosition); prevPosition.set(0f, 0f, 0f); + setPosition(position.x, position.y, position.z); } public Vector2 getCenter() @@ -247,7 +248,6 @@ public abstract class Pawn implements Moveable, Disposable @Override public void run() { revertPosition(); - setPosition(position.x, position.y, position.z); } })); |