diff --git a/gamemode/engine/lib/sh_effects.lua b/gamemode/engine/lib/sh_effects.lua index 3844364..39092e6 100644 --- a/gamemode/engine/lib/sh_effects.lua +++ b/gamemode/engine/lib/sh_effects.lua @@ -52,6 +52,8 @@ if SERVER then -- server only functions function Quantum.Effect.RemoveRuntimeFunction( pl, effectid, hookID ) hookID = hookID || "Quantum_Effects_RunTime_" .. tostring(pl:SteamID64()) .. "_" .. tostring(effectid) Quantum.Debug( "Removing runtime effect hook: " .. hookID ) + + pl.effecthooks[hookID] = nil hook.Remove( "Think", hookID ) end