Skip to content

Commit 246b351

Browse files
committed
fix(timers): StopTimer
1 parent 0773d78 commit 246b351

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin_files/bin/scripting/timers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ function LoadTimers(global) {
2121
return;
2222
}
2323

24-
if (!timersTable[timerId]) {
24+
if (!timersList[timerId]) {
2525
console.log("Invalid Timer ID.");
2626
return;
2727
}
2828

29-
delete timersTable[timerId];
29+
delete timersList[timerId];
3030
}
3131

3232
global.SetTimer = (delay, callback) => {

0 commit comments

Comments
 (0)