Skip to content

Commit

Permalink
call maybe_do_init_side when the engine starts a sides turn
Browse files Browse the repository at this point in the history
This is part of the effort to fix bug https://gna.org/bugs/?21397
  • Loading branch information
cbeck88 committed May 31, 2014
1 parent 5ed8494 commit fe3395c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/playsingle_controller.cpp
Expand Up @@ -670,6 +670,8 @@ void playsingle_controller::play_side(const unsigned int side_number, bool save)
//check for team-specific items in the scenario
gui_->parse_team_overlays();

maybe_do_init_side(side_number, save);

//flag used when we fallback from ai and give temporarily control to human
bool temporary_human = false;
do {
Expand Down

0 comments on commit fe3395c

Please sign in to comment.