Skip to content

Commit

Permalink
change mp_game_settings to default experience modifier to 100
Browse files Browse the repository at this point in the history
This appears to fix tutorial scenario two. Bug #23366.
I'm not sure if this should be related to loading the tutorial at
all though, so it might not be the real cause of the bug.
  • Loading branch information
cbeck88 committed Mar 8, 2015
1 parent 8baf92e commit f0a69e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mp_game_settings.cpp
Expand Up @@ -38,7 +38,7 @@ mp_game_settings::mp_game_settings() :
num_turns(0),
village_gold(0),
village_support(1),
xp_modifier(0),
xp_modifier(100),
mp_countdown_init_time(0),
mp_countdown_reservoir_time(0),
mp_countdown_turn_bonus(0),
Expand Down Expand Up @@ -72,7 +72,7 @@ mp_game_settings::mp_game_settings(const config& cfg) :
num_turns(0),
village_gold(0),
village_support(1),
xp_modifier(0),
xp_modifier(100),
mp_countdown_init_time(0),
mp_countdown_reservoir_time(0),
mp_countdown_turn_bonus(0),
Expand Down Expand Up @@ -141,7 +141,7 @@ void mp_game_settings::set_from_config(const config& game_cfg)
side_users = utils::map_split(cfg["side_users"]);
show_configure = cfg["show_configure"].to_bool(true);
show_connect = cfg["show_connect"].to_bool(true);
xp_modifier = cfg["experience_modifier"];
xp_modifier = cfg["experience_modifier"].to_int(100);
use_map_settings = cfg["mp_use_map_settings"].to_bool();
random_start_time = cfg["mp_random_start_time"].to_bool();
fog_game = cfg["mp_fog"].to_bool();
Expand Down Expand Up @@ -177,7 +177,7 @@ void mp_game_settings::reset()
num_turns = 0;
village_gold = 0;
village_support = 1;
xp_modifier = 0;
xp_modifier = 100;
mp_countdown_init_time=0;
mp_countdown_reservoir_time=0;
mp_countdown_turn_bonus=0;
Expand Down

0 comments on commit f0a69e6

Please sign in to comment.