mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-14 16:07:09 +00:00
fix persistence wml writing to wrong folder
This commit is contained in:
parent
523362dd33
commit
cf912805f0
|
@ -28,7 +28,7 @@ config pack_scalar(const std::string &name, const t_string &val)
|
|||
}
|
||||
|
||||
static std::string get_persist_cfg_name(const std::string &name_space) {
|
||||
return (filesystem::get_dir(filesystem::get_user_data_dir() + "/persist/") + name_space + filesystem::wml_extension);
|
||||
return (filesystem::get_dir(filesystem::get_wml_persist_dir() + "/persist/") + name_space + filesystem::wml_extension);
|
||||
}
|
||||
|
||||
void persist_file_context::load()
|
||||
|
|
Loading…
Reference in New Issue
Block a user