Merge pull request #1784 from thecodingmachine/fix_user_walking_infinitely
Fixing users walking infinitely
This commit is contained in:
commit
673a18864d
@ -41,7 +41,7 @@ export class PlayerMovement {
|
|||||||
oldX: this.startPosition.x,
|
oldX: this.startPosition.x,
|
||||||
oldY: this.startPosition.y,
|
oldY: this.startPosition.y,
|
||||||
direction: this.endPosition.direction,
|
direction: this.endPosition.direction,
|
||||||
moving: this.endPosition.moving,
|
moving: this.isOutdated(tick) ? false : this.endPosition.moving,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user