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

@@ -1,5 +1,8 @@
local this = {};
local time;
local utils;
local sdk = sdk;
local tostring = tostring;
local pairs = pairs;
@@ -231,8 +234,13 @@ function this.init_otomo_manager()
return this.otomo_manager;
end
function this.init_dependencies()
time = require("MHR_Overlay.Game_Handler.time");
utils = require("MHR_Overlay.Misc.utils");
end
function this.init_module()
this.init();
time.new_timer(this.init, 1);
end
return this;