Skip to content

Commit 3e52b67

Browse files
authored
Merge pull request #13 from KK233/master
timers.lua: currentTimer use wrong variable
2 parents 4740c25 + 1aea14e commit 3e52b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscripts/lib/timers.lua

+1-1
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)