From f2e23626cfa5610ce8dc069a0a7e6537a0f1479c Mon Sep 17 00:00:00 2001 From: GreenComfyTea Date: Tue, 24 Oct 2023 10:15:19 +0300 Subject: [PATCH] Fix creating DEFAULT file in /data/ when no config --- reframework/autorun/MHR_Overlay/Misc/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reframework/autorun/MHR_Overlay/Misc/config.lua b/reframework/autorun/MHR_Overlay/Misc/config.lua index 871627e..4e3b856 100644 --- a/reframework/autorun/MHR_Overlay/Misc/config.lua +++ b/reframework/autorun/MHR_Overlay/Misc/config.lua @@ -9215,7 +9215,7 @@ function this.load_configs() table.insert(this.config_names, this.current_config_name); 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 this.save_current_config_name();