Exclude end sequence from focus lose code
authorTobias Markus <tobbi@mozilla-uk.org>
Tue, 17 Mar 2015 14:56:41 +0000 (15:56 +0100)
committerTobias Markus <tobbi@mozilla-uk.org>
Tue, 17 Mar 2015 14:56:41 +0000 (15:56 +0100)
src/supertux/game_session.cpp

index d29300d..4d7652d 100644 (file)
@@ -276,7 +276,7 @@ GameSession::abort_level()
 bool
 GameSession::is_active() const
 {
-  return !game_pause && active;
+  return !game_pause && active && !end_sequence;
 }
 
 void