diff --git a/src/play_controller.cpp b/src/play_controller.cpp index 6de686a92ea..f0dc3c17b8c 100644 --- a/src/play_controller.cpp +++ b/src/play_controller.cpp @@ -1465,7 +1465,7 @@ void play_controller::check_victory() } } - if (found_player) { + if (found_player || found_network_player) { game_events::fire("enemies defeated"); check_end_level(); } @@ -1475,7 +1475,7 @@ void play_controller::check_victory() DBG_NG << "found_network_player: " << found_network_player << std::endl; DBG_NG << "there_is_a_local_human: " << there_is_a_local_human << std::endl; - if (!victory_when_enemies_defeated_ && (found_player || (!there_is_a_local_human && found_network_player))) { + if (!victory_when_enemies_defeated_ && (found_player || found_network_player)) { // This level has asked not to be ended by this condition. return; }