Skip to content

Commit

Permalink
Trigger glualint
Browse files Browse the repository at this point in the history
  • Loading branch information
legokidlogan committed May 29, 2022
1 parent d60f8dd commit 17f6164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ulx/modules/sh/cfc_wheel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ hook.Add( "Think", "CFC_ULX_WheelKeepUpright", function()
local spindownMult = turnTorque and WHEEL_TURN_ASSIST_SPINDOWN_MULT or 1 -- Assist turning by reducing forwards spin
local rightDotAim = wheelRight:Dot( plyForward )

if mAbs( rightDotAim ) > WHEEL_TURN_ASSIST_REORIENT_THRESHOLD then
if mAbs( rightDotAim ) > WHEEL_TURN_ASSIST_REORIENT_THRESHOLD then -- Gently turn wheel towards player's aim
spinTorque = -VEC_UP * WHEEL_TURN_STRENGTH:GetFloat() * mSignNoZero( rightDotAim )
end

Expand Down

0 comments on commit 17f6164

Please sign in to comment.