Fix circular offset

This commit is contained in:
Karl Pannek 2025-07-19 00:35:21 +02:00
parent 9d74a01f04
commit bce96b0c4a
2 changed files with 12 additions and 2 deletions

View file

@ -222,7 +222,7 @@ function (Parent, KeyboardInput, domController, Settings, Swiper) {
KeyboardAndMouse.prototype.deactivateModifier = function() {
this.modifier = false;
this.x = this.lastLookDirection * Settings.VIEWPORT_LOOK_AHEAD;
this.y = 0;
this.y = this.y;
this.onXyChange(this.x, this.y);
this.playerController.deactivateModifier();
};