mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Add remove_delay_timer()
This commit is contained in:
@@ -86,8 +86,14 @@ function this.new_delay_timer(callback, delay)
|
||||
|
||||
delay_timer.init_time = os.clock();
|
||||
|
||||
this.delay_timer_list[callback] = delay_timer;
|
||||
this.delay_timer_list[callback] = delay_timer;
|
||||
|
||||
return delay_timer;
|
||||
|
||||
end
|
||||
|
||||
function this.remove_delay_timer(delay_timer)
|
||||
this.delay_timer_list[delay_timer.callback] = nil;
|
||||
end
|
||||
|
||||
function this.init_global_timers()
|
||||
|
||||
Reference in New Issue
Block a user