2 Commits

Author SHA1 Message Date
GreenComfyTea
3b89ce8303 Bump version to v2.6.2 2023-10-24 10:15:42 +03:00
GreenComfyTea
f2e23626cf Fix creating DEFAULT file in /data/ when no config 2023-10-24 10:15:19 +03:00

View File

@@ -36,7 +36,7 @@ local os = os;
local ValueType = ValueType; local ValueType = ValueType;
local package = package; local package = package;
this.version = "2.6.1"; this.version = "2.6.2";
this.config_folder = "MHR Overlay\\configs\\"; this.config_folder = "MHR Overlay\\configs\\";
this.current_config_value_file_name = "MHR Overlay\\config.json"; this.current_config_value_file_name = "MHR Overlay\\config.json";
@@ -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();