diff --git a/client/battle/BattleInterface.cpp b/client/battle/BattleInterface.cpp index dc1ff5161..93842e95b 100644 --- a/client/battle/BattleInterface.cpp +++ b/client/battle/BattleInterface.cpp @@ -105,11 +105,9 @@ void BattleInterface::playIntroSoundAndUnlockInterface() { auto onIntroPlayed = [this]() { + boost::unique_lock un(*CPlayerInterface::pim); if(LOCPLINT->battleInt) - { - boost::unique_lock un(*CPlayerInterface::pim); onIntroSoundPlayed(); - } }; int battleIntroSoundChannel = CCS->soundh->playSoundFromSet(CCS->soundh->battleIntroSounds);