Skip to content

Commit

Permalink
Merge pull request #13 from KK233/master
Browse files Browse the repository at this point in the history
timers.lua: currentTimer use wrong variable
  • Loading branch information
Perryvw authored Oct 1, 2023
2 parents 4740c25 + 1aea14e commit 3e52b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vscripts/lib/timers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function Timers:ExecuteTimers(timerList, now)
while currentTimer and (now >= currentTimer.endTime) do
-- Remove from timers list
timerList:Remove(currentTimer)
Timers.runningTimer = k
Timers.runningTimer = currentTimer
Timers.removeSelf = false

-- Run the callback
Expand Down

0 comments on commit 3e52b67

Please sign in to comment.