Skip to content

Commit

Permalink
Timers.lua: currentTimer use wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KK233 committed Mar 8, 2023
1 parent d790a99 commit 1aea14e
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 1aea14e

Please sign in to comment.