mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 12:28:03 -08:00
Separate Dependency Initializations
This commit is contained in:
@@ -7716,10 +7716,12 @@ function this.update(index)
|
||||
this.save_current_config_name();
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
this.init_default();
|
||||
this.load_current_config_value();
|
||||
this.load_configs();
|
||||
|
||||
@@ -659,9 +659,11 @@ function this.update(index)
|
||||
this.current_language = this.languages[index];
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
this.save_default();
|
||||
this.load();
|
||||
this.current_language = this.default_language;
|
||||
|
||||
@@ -954,9 +954,11 @@ function this.get_part_name(monster_id, part_id)
|
||||
return part_name;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
this.init();
|
||||
end
|
||||
|
||||
|
||||
@@ -413,6 +413,9 @@ function this.unicode.sub(str, i, j)
|
||||
return string.sub(str, i, b + c - 1);
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user