You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local pc_look = FPCameraPlayerBase._pc_look_function
function FPCameraPlayerBase:_pc_look_function(...)
if RadialMouseMenu and RadialMouseMenu.current_menu and not RadialMouseMenu.current_menu.allow_camera_look and RadialMouseMenu.current_menu:active() then
return 0,0
end
return pc_look(self,...)
end
local gamepad_look = FPCameraPlayerBase._gamepad_look_function
function FPCameraPlayerBase:_gamepad_look_function(...)
if RadialMouseMenu and RadialMouseMenu.current_menu and not RadialMouseMenu.current_menu.allow_camera_look and RadialMouseMenu.current_menu:active() then
return 0,0
end
return gamepad_look(self,...)
end
local gamepad_look_ctl = FPCameraPlayerBase._gamepad_look_function_ctl
function FPCameraPlayerBase:_gamepad_look_function_ctl(...)
if RadialMouseMenu and RadialMouseMenu.current_menu and not RadialMouseMenu.current_menu.allow_camera_look and RadialMouseMenu.current_menu:active() then
return 0,0
end
return gamepad_look_ctl(self,...)
end
local steampad_look = FPCameraPlayerBase._steampad_look_function
function FPCameraPlayerBase:_steampad_look_function(...)
if RadialMouseMenu and RadialMouseMenu.current_menu and not RadialMouseMenu.current_menu.allow_camera_look and RadialMouseMenu.current_menu:active() then