Merge pull request #1784 from thecodingmachine/fix_user_walking_infinitely

Fixing users walking infinitely
This commit is contained in:
David Négrier
2022-01-28 11:20:37 +01:00
committed by GitHub
+1 -1
View File
@@ -41,7 +41,7 @@ export class PlayerMovement {
oldX: this.startPosition.x,
oldY: this.startPosition.y,
direction: this.endPosition.direction,
moving: this.endPosition.moving,
moving: this.isOutdated(tick) ? false : this.endPosition.moving,
};
}
}