Skip to content

Commit 1aea14e

Browse files
committed
Timers.lua: currentTimer use wrong variable
1 parent d790a99 commit 1aea14e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscripts/lib/timers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function Timers:ExecuteTimers(timerList, now)
183183
while currentTimer and (now >= currentTimer.endTime) do
184184
-- Remove from timers list
185185
timerList:Remove(currentTimer)
186-
Timers.runningTimer = k
186+
Timers.runningTimer = currentTimer
187187
Timers.removeSelf = false
188188

189189
-- Run the callback

0 commit comments

Comments
 (0)