Skip to content

Commit

Permalink
Update CameraInput.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoidberg authored May 16, 2022
1 parent 06d2300 commit 9439103
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserGameSettings = UserSettings():GetService("UserGameSettings")
local VRService = game:GetService("VRService")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer

Expand Down Expand Up @@ -51,7 +50,7 @@ local rmbDown, rmbUp do
end
end)

UserInputService.InputEnded:Connect(function(input, gpe)
UserInputService.InputEnded:Connect(function(input, _)
if input.UserInputType == Enum.UserInputType.MouseButton2 then
rmbUpBindable:Fire()
end
Expand Down Expand Up @@ -145,7 +144,6 @@ do
panInputCount = math.max(0, panInputCount - 1)
end

local touchPitchSensitivity = 1
local gamepadState = {
Thumbstick2 = Vector2.new(),
}
Expand Down Expand Up @@ -559,4 +557,4 @@ do
end
end

return CameraInput
return CameraInput

0 comments on commit 9439103

Please sign in to comment.