fix for sconsfiles
[supertux.git] / src / gameloop.cpp
index 84e4be2..c27bf6c 100644 (file)
@@ -770,7 +770,7 @@ GameSession::run()
       currentsector->player->kill(Player::KILL);
     
     /* Handle music: */
-    if(currentsector->player->invincible_timer.check() && !end_sequence)
+    if(currentsector->player->invincible_timer.started() && !end_sequence)
     {
       currentsector->play_music(HERRING_MUSIC);
     }