mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-21 17:19:50 +00:00
Store core ID into save
This commit is contained in:
parent
4604c949fa
commit
c873e09a60
@ -17,6 +17,7 @@
|
||||
|
||||
#include "config.hpp"
|
||||
#include "log.hpp"
|
||||
#include "preferences/general.hpp"
|
||||
#include "serialization/string_utils.hpp"
|
||||
#include "game_version.hpp"
|
||||
#include "game_config_manager.hpp"
|
||||
@ -77,6 +78,7 @@ config game_classification::to_config() const
|
||||
cfg["difficulty"] = difficulty;
|
||||
cfg["random_mode"] = random_mode;
|
||||
cfg["oos_debug"] = oos_debug;
|
||||
cfg["core"] = preferences::core_id();
|
||||
|
||||
return cfg;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user