Skip to content

Commit

Permalink
fixup 'more refactor of play_side..'
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 3, 2015
1 parent fe9b020 commit 1324484
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/playsingle_controller.cpp
Expand Up @@ -812,11 +812,9 @@ void playsingle_controller::force_end_turn(){

void playsingle_controller::check_objectives()
{
if (!is_regular_game_end() || linger_) {
return;
}
const team &t = gamestate_.board_.teams()[gui_->viewing_team()];
if (!is_browsing() && t.objectives_changed()) {

if (!is_regular_game_end() && !is_browsing() && t.objectives_changed()) {
dialogs::show_objectives(get_scenario_name().str(), t.objectives());
t.reset_objectives_changed();
}
Expand Down

0 comments on commit 1324484

Please sign in to comment.