@@ -19,15 +19,15 @@ if CLIENT
1919
2020 shouldPaint = localPlayerTable and
2121 not LocalPlayer !\ IsImposter ! and not LocalPlayer !\ IsDead ! and
22- not false = = hook. Call " GMAU Lights ShouldFade" , nil , ply
22+ not false ~ = hook. Call " GMAU Lights ShouldFade" , nil , ply
2323
24- isFogEnabled = shouldPaint and GetGlobalBool " NMW AU LightsOff"
24+ isFogEnabled = GetGlobalBool " NMW AU LightsOff"
2525
2626 -- Modulate the fog if it's enabled.
2727 if isFogEnabled and FOG_MUL < 1
28- FOG_MUL = math.min 1 , FOG_MUL + FrameTime ! * 0.3
28+ FOG_MUL = math.min 1 , FOG_MUL + FrameTime ! * 0.4
2929 elseif not isFogEnabled and FOG_MUL > 0
30- FOG_MUL = math.max 0 , FOG_MUL - FrameTime ! * 0.5
30+ FOG_MUL = math.max 0 , FOG_MUL - FrameTime ! * 0.6
3131
3232 if FOG_MUL ~= 0 and shouldPaint
3333 colorModifyParams[ " $pp_colour_colour" ] = 1 - ( 0.5 * FOG_MUL )
@@ -48,7 +48,7 @@ if CLIENT
4848
4949 shouldPaint = localPlayerTable and
5050 not LocalPlayer !\ IsImposter ! and not LocalPlayer !\ IsDead ! and
51- not false = = hook. Call " GMAU Lights ShouldFade" , nil , ply
51+ not false ~ = hook. Call " GMAU Lights ShouldFade" , nil , ply
5252
5353 if FOG_MUL > 0 and shouldPaint
5454 distance = math. Clamp ply\ GetPos !\ DistToSqr ( LocalPlayer !\ GetPos !) ,
@@ -86,7 +86,7 @@ if CLIENT
8686 local oldBlend
8787 shouldPaint = localPlayerTable and
8888 not LocalPlayer !\ IsImposter ! and not LocalPlayer !\ IsDead ! and
89- not false = = hook. Call " GMAU Lights ShouldFade" , nil , ply
89+ not false ~ = hook. Call " GMAU Lights ShouldFade" , nil , ply
9090
9191 if FOG_MUL > 0 and not shouldPaint
9292 distance = math. Clamp @GetPos !\ DistToSqr ( LocalPlayer !\ GetPos !) ,
0 commit comments