From: Tobias Markus Date: Tue, 17 Mar 2015 14:56:41 +0000 (+0100) Subject: Exclude end sequence from focus lose code X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=82869e7a72c9bbcf9112df6a1cdd239361012567;p=supertux.git Exclude end sequence from focus lose code --- diff --git a/src/supertux/game_session.cpp b/src/supertux/game_session.cpp index d29300d92..4d7652d75 100644 --- a/src/supertux/game_session.cpp +++ b/src/supertux/game_session.cpp @@ -276,7 +276,7 @@ GameSession::abort_level() bool GameSession::is_active() const { - return !game_pause && active; + return !game_pause && active && !end_sequence; } void