2x better tpik perf it was running twice a frame for no reason

This commit is contained in:
Darsu 2025-02-26 17:44:03 +07:00
parent 7fb499aece
commit 85696eaa9d

View File

@ -1,7 +1,7 @@
hook.Add("PrePlayerDraw", "ARC9_TPIK", function(ply, flags)
local wpn = ply:GetActiveWeapon()
-- hook.Add("PrePlayerDraw", "ARC9_TPIK", function(ply, flags)
-- local wpn = ply:GetActiveWeapon()
if !wpn.ARC9 then return end
-- if !wpn.ARC9 then return end
wpn:DoTPIK()
end)
-- wpn:DoTPIK()
-- end)