Fix bug #10728: The campaign prefix is missing for some save files.
This commit is contained in:
parent
9d5f617dad
commit
6624b2c601
1 changed files with 2 additions and 2 deletions
|
@ -434,7 +434,7 @@ game_state::game_state(const game_data& data, const config& cfg) :
|
|||
campaign_define(cfg["campaign_define"]),
|
||||
campaign_xtra_defines(utils::split(cfg["campaign_extra_defines"])),
|
||||
campaign(cfg["campaign"]),
|
||||
abbrev(),
|
||||
abbrev(cfg["abbrev"]),
|
||||
scenario(cfg["scenario"]),
|
||||
next_scenario(cfg["next_scenario"]),
|
||||
completion(cfg["completion"]),
|
||||
|
@ -633,8 +633,8 @@ void write_game(config_writer &out, const game_state& gamestate, WRITE_GAME_MODE
|
|||
{
|
||||
log_scope("write_game");
|
||||
|
||||
out.write_key_val("abbrev", gamestate.abbrev);
|
||||
out.write_key_val("label", gamestate.label);
|
||||
out.write_key_val("abbrev", gamestate.abbrev);
|
||||
out.write_key_val("version", game_config::version);
|
||||
out.write_key_val("scenario", gamestate.scenario);
|
||||
out.write_key_val("next_scenario", gamestate.next_scenario);
|
||||
|
|
Loading…
Add table
Reference in a new issue