Skip to content

Commit

Permalink
fix saved_gamre::set_data
Browse files Browse the repository at this point in the history
fixed up a15867e
  • Loading branch information
gfgtdf committed Mar 8, 2015
1 parent 5a09a57 commit b54a0ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/saved_game.cpp
Expand Up @@ -527,10 +527,12 @@ void saved_game::set_data(config& cfg)
else if(config & caryover_sides_start = cfg.child("carryover_sides_start"))
{
carryover_.swap(caryover_sides_start);
has_carryover_expanded_ = false;
}
else
{
carryover_ = config();
has_carryover_expanded_ = false;
}

if(config & replay_start = cfg.child("replay_start"))
Expand Down

0 comments on commit b54a0ae

Please sign in to comment.