1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 04:20:29 +00:00

Minor fix in move360.lua. Scrolling shouldn't toggle view mode when TAB is pressed.

This commit is contained in:
Petr Mikheev 2022-07-09 22:27:23 +02:00
parent e70d2be1ee
commit c1344c4765

View File

@ -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