mirror of
https://github.com/shadowscion/TankTrackTool.git
synced 2025-03-04 03:03:06 -05:00
Move to PostDrawOpaqueRenderables
This commit is contained in:
parent
86ad18f127
commit
6a2129a2da
@ -24,7 +24,7 @@ local draws, emptyCSENT = tanktracktool.render.draws, tanktracktool.render.empty
|
||||
local eyepos, eyedir = Vector(), Vector()
|
||||
local flashlightMODE
|
||||
|
||||
hook.Add( "PostDrawTranslucentRenderables", "tanktracktoolRenderDraw", function()
|
||||
hook.Add( "PostDrawOpaqueRenderables", "tanktracktoolRenderDraw", function()
|
||||
flashlightMODE = LocalPlayer():FlashlightIsOn() --or #ents.FindByClass "*projectedtexture*" ~= 0
|
||||
eyepos = EyePos()
|
||||
eyedir = EyeVector()
|
||||
|
Loading…
Reference in New Issue
Block a user