From 85696eaa9d3a5535b8fc10c12f27ee8f80f42ba4 Mon Sep 17 00:00:00 2001 From: Darsu <95997959+dar-su@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:44:03 +0700 Subject: [PATCH] 2x better tpik perf it was running twice a frame for no reason --- lua/arc9/client/cl_tpik.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/arc9/client/cl_tpik.lua b/lua/arc9/client/cl_tpik.lua index 5f90f8a9..f2b0e022 100644 --- a/lua/arc9/client/cl_tpik.lua +++ b/lua/arc9/client/cl_tpik.lua @@ -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) \ No newline at end of file +-- wpn:DoTPIK() +-- end) \ No newline at end of file