mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Fix creating DEFAULT file in /data/ when no config
This commit is contained in:
@@ -9215,7 +9215,7 @@ function this.load_configs()
|
|||||||
table.insert(this.config_names, this.current_config_name);
|
table.insert(this.config_names, this.current_config_name);
|
||||||
table.insert(this.configs, this.current_config);
|
table.insert(this.configs, this.current_config);
|
||||||
|
|
||||||
this.save(this.current_config_name, this.current_config);
|
this.save(string.format("%s\\%s.json", this.config_folder, this.current_config_name), this.current_config);
|
||||||
end
|
end
|
||||||
|
|
||||||
this.save_current_config_name();
|
this.save_current_config_name();
|
||||||
|
|||||||
Reference in New Issue
Block a user