Separate Dependency Initializations

This commit is contained in:
GreenComfyTea
2023-08-05 11:24:26 +03:00
parent 30672922c4
commit 4bdb4ee2e6
52 changed files with 284 additions and 72 deletions

View File

@@ -165,7 +165,7 @@ function this.update_timer(buff, timer)
end
end
function this.init_module()
function this.init_dependencies()
config = require("MHR_Overlay.Misc.config");
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
singletons = require("MHR_Overlay.Game_Handler.singletons");
@@ -178,4 +178,8 @@ function this.init_module()
quest_status = require("MHR_Overlay.Game_Handler.quest_status");
end
function this.init_module()
time.new_timer(this.update, 0.5);
end
return this;