save experience_modifier in the level again where it is expected by non-mp code

fixes bug #14381: XP modifier is not taken into account for multiplayer games
This commit is contained in:
Gunter Labes 2009-09-27 20:25:15 +00:00
parent a13c00f911
commit 9245a71bf7

View file

@ -1536,6 +1536,7 @@ void connect::load_game()
level_["random_start_time"] = "no";
}
level_["experience_modifier"] = lexical_cast<std::string>(params_.xp_modifier);
level_["random_seed"] = lexical_cast<std::string>(state_.rng().get_random_seed());
}