Skip to content

Commit

Permalink
Fix timers would not be cleaned up (#3194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denneisk authored Dec 2, 2024
1 parent 049edb0 commit a735a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_expression2/core/timer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ local function luaTimerCreate(self, name, delay, repetitions, callback)
ent:Execute(callback)

if timer.RepsLeft(internalName) == 0 then
luaTimers[name] = nil
luaTimers[entIndex][name] = nil
end
end)
end
Expand Down

0 comments on commit a735a00

Please sign in to comment.