mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 22:36:23 +00:00
Moved mainline core definition file from _main.cfg to /data/cores.cfg.
This commit is contained in:
parent
8bd1bd99db
commit
396f1eae33
@ -127,7 +127,7 @@ void game_config_manager::load_game_config(FORCE_RELOAD_CONFIG force_reload,
|
|||||||
cache_.get_config(get_wml_location(preferences::wml_tree_root()), game_config_);
|
cache_.get_config(get_wml_location(preferences::wml_tree_root()), game_config_);
|
||||||
// Load the mainline core definitions to make sure switching back is always possible.
|
// Load the mainline core definitions to make sure switching back is always possible.
|
||||||
config default_core_cfg;
|
config default_core_cfg;
|
||||||
cache_.get_config(game_config::path, default_core_cfg);
|
cache_.get_config(game_config::path + "/data/cores.cfg", default_core_cfg);
|
||||||
game_config_.append(default_core_cfg);
|
game_config_.append(default_core_cfg);
|
||||||
|
|
||||||
main_transaction.lock();
|
main_transaction.lock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user