From 1324484401794ce0aaa3e7c8b67a853dda586c30 Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Tue, 3 Mar 2015 22:29:02 +0100 Subject: [PATCH] fixup 'more refactor of play_side..' --- src/playsingle_controller.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/playsingle_controller.cpp b/src/playsingle_controller.cpp index 3d11762d8674..908d81f9b0c1 100644 --- a/src/playsingle_controller.cpp +++ b/src/playsingle_controller.cpp @@ -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(); }