Stop music, so that its handle can be freed, before playing other music on sector...
[supertux.git] / src / supertux / sector.cpp
index 351fe31..7573a95 100644 (file)
@@ -1506,6 +1506,7 @@ Sector::resume_music()
   }
   else
   {
+    SoundManager::current()->stop_music();
     SoundManager::current()->play_music(music, true);
   }
 }