From 5ff6af910819377a069f5f5ff10f65ce18928692 Mon Sep 17 00:00:00 2001 From: GreenComfyTea Date: Wed, 16 Aug 2023 10:32:43 +0300 Subject: [PATCH] Move update_quest_time timer to init_global_timers --- reframework/autorun/MHR_Overlay/Game_Handler/time.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reframework/autorun/MHR_Overlay/Game_Handler/time.lua b/reframework/autorun/MHR_Overlay/Game_Handler/time.lua index b27478e..686a2bc 100644 --- a/reframework/autorun/MHR_Overlay/Game_Handler/time.lua +++ b/reframework/autorun/MHR_Overlay/Game_Handler/time.lua @@ -78,10 +78,12 @@ function this.init_global_timers() this.new_timer(singletons.init, 1); this.new_timer(screen.update_window_size, 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_myself_position, 1); this.new_timer(buffs.update, 1/60); this.new_timer(player_info.update, 0.5); + end function this.update_timers() @@ -142,7 +144,6 @@ function this.init_dependencies() end function this.init_module() - this.new_timer(this.update_quest_time, 1 / 60); end return this;