Skip to content

Commit

Permalink
Fix command-line AI testing: iterate over [scenario][side] instead of…
Browse files Browse the repository at this point in the history
… [side]
  • Loading branch information
crab committed Jul 29, 2014
1 parent 6a1b039 commit 09605c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connect_engine.cpp
Expand Up @@ -525,7 +525,7 @@ void connect_engine::start_game_commandline(
scenario()["turns"] = *cmdline_opts.multiplayer_turns;
}

BOOST_FOREACH(config &side, level_.child_range("side"))
BOOST_FOREACH(config &side, scenario().child_range("side"))
{
if (cmdline_opts.multiplayer_ai_config) {
BOOST_FOREACH(const mp_option& option,
Expand Down

0 comments on commit 09605c7

Please sign in to comment.