Make sure the sfx are resumed before calling onSOundEnbaledBack().

This commit is contained in:
hiker 2014-10-21 08:31:10 +11:00
parent c7d7e17ff9
commit 65b7589849

View File

@ -333,7 +333,7 @@ void SFXManager::soundToggled(const bool on)
buffer->load();
}
resumeAll();
reallyResumeAllNow();
m_all_sfx.lock();
const int sfx_amount = (int)m_all_sfx.getData().size();
for (int n=0; n<sfx_amount; n++)