Skip to content

Commit da88e9b

Browse files
authored
Merge pull request #711 from Quenty/users/alex-y-z/camera
fix: Pass constrained camera input
2 parents 7953793 + faf1d56 commit da88e9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/camera/src/Client/Controls/ConstrainedLookControls.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,12 @@ function ConstrainedLookControls.Enable(self: ConstrainedLookControls)
101101
if userInputState == Enum.UserInputState.Begin then
102102
self:_beginDrag(inputObject)
103103
end
104+
return Enum.ContextActionResult.Pass
104105
end, false, unpack(self._dragBeginTypes))
105106

106107
ContextActionService:BindAction(self._key .. "Rotate", function(_, _, inputObject)
107108
self._gamepadRotateModel:HandleThumbstickInput(inputObject)
109+
return Enum.ContextActionResult.Pass
108110
end, false, Enum.KeyCode.Thumbstick2)
109111

110112
maid:GiveTask(function()

0 commit comments

Comments
 (0)