diff options
Diffstat (limited to 'gamemode/server/player_functions.lua')
| -rw-r--r-- | gamemode/server/player_functions.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gamemode/server/player_functions.lua b/gamemode/server/player_functions.lua index 09de491..4ef39fd 100644 --- a/gamemode/server/player_functions.lua +++ b/gamemode/server/player_functions.lua @@ -664,6 +664,13 @@ end function PlayerMeta:CancelProcess() if ( !self.InProcess ) then return end + --If we just clear it out, it should all be good. + for i = 1, 10 do + if(timer.Exists("GMS_ProcessTimer_" .. i)) then + timer.Destroy("GMS_ProcessTimer_" .. i) + end + end + GAMEMODE.ProcessThinkHookTable = {} timer.Destroy("process") self:Freeze(false) self.InProcess = false |
