mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-23 20:08:05 -08:00
Move update_quest_time timer to init_global_timers
This commit is contained in:
@@ -78,10 +78,12 @@ function this.init_global_timers()
|
|||||||
this.new_timer(singletons.init, 1);
|
this.new_timer(singletons.init, 1);
|
||||||
this.new_timer(screen.update_window_size, 1);
|
this.new_timer(screen.update_window_size, 1);
|
||||||
this.new_timer(quest_status.update_is_online, 1);
|
this.new_timer(quest_status.update_is_online, 1);
|
||||||
|
this.new_timer(this.update_quest_time, 1 / 60);
|
||||||
this.new_timer(players.update_display_list, 0.5);
|
this.new_timer(players.update_display_list, 0.5);
|
||||||
this.new_timer(players.update_myself_position, 1);
|
this.new_timer(players.update_myself_position, 1);
|
||||||
this.new_timer(buffs.update, 1/60);
|
this.new_timer(buffs.update, 1/60);
|
||||||
this.new_timer(player_info.update, 0.5);
|
this.new_timer(player_info.update, 0.5);
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.update_timers()
|
function this.update_timers()
|
||||||
@@ -142,7 +144,6 @@ function this.init_dependencies()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function this.init_module()
|
function this.init_module()
|
||||||
this.new_timer(this.update_quest_time, 1 / 60);
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Reference in New Issue
Block a user