From c1344c47651a99bd55207f6b8e9214b7bb72bd15 Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Sat, 9 Jul 2022 22:27:23 +0200 Subject: [PATCH] Minor fix in move360.lua. Scrolling shouldn't toggle view mode when TAB is pressed. --- files/data/scripts/omw/camera/move360.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/files/data/scripts/omw/camera/move360.lua b/files/data/scripts/omw/camera/move360.lua index 08b0fe29d6..08e4b09f45 100644 --- a/files/data/scripts/omw/camera/move360.lua +++ b/files/data/scripts/omw/camera/move360.lua @@ -62,6 +62,7 @@ function M.onInputAction(action) if not active or core.isWorldPaused() or not input.getControlSwitch(input.CONTROL_SWITCH.ViewMode) or not input.getControlSwitch(input.CONTROL_SWITCH.Controls) or + input.isActionPressed(input.ACTION.TogglePOV) or not I.Camera.isModeControlEnabled() then return end