Skip to content

Commit 17f6164

Browse files
committed
Trigger glualint
1 parent d60f8dd commit 17f6164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/ulx/modules/sh/cfc_wheel.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ hook.Add( "Think", "CFC_ULX_WheelKeepUpright", function()
149149
local spindownMult = turnTorque and WHEEL_TURN_ASSIST_SPINDOWN_MULT or 1 -- Assist turning by reducing forwards spin
150150
local rightDotAim = wheelRight:Dot( plyForward )
151151

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

0 commit comments

Comments
 (0)