Skip to content

Commit a735a00

Browse files
authored
Fix timers would not be cleaned up (#3194)
1 parent 049edb0 commit a735a00

File tree

1 file changed

+1
-1
lines changed
  • lua/entities/gmod_wire_expression2/core

1 file changed

+1
-1
lines changed

lua/entities/gmod_wire_expression2/core/timer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ local function luaTimerCreate(self, name, delay, repetitions, callback)
101101
ent:Execute(callback)
102102

103103
if timer.RepsLeft(internalName) == 0 then
104-
luaTimers[name] = nil
104+
luaTimers[entIndex][name] = nil
105105
end
106106
end)
107107
end

0 commit comments

Comments
 (0)