diff --git a/src/Etterna/Singletons/GameSoundManager.cpp b/src/Etterna/Singletons/GameSoundManager.cpp index 8169faa1e2..b1c6dac401 100644 --- a/src/Etterna/Singletons/GameSoundManager.cpp +++ b/src/Etterna/Singletons/GameSoundManager.cpp @@ -395,10 +395,11 @@ GameSoundManager::HandleSetPosition() vector vec = g_PositionsToSet; g_PositionsToSet.clear(); g_Mutex->Unlock(); - if (!vec.empty()) { - for (unsigned i = 0; i < vec.size(); i++) { - vec[i].m_psound->SetPositionSeconds(vec[i].fSeconds); - } + for (unsigned i = 0; i < vec.size(); i++) { + // I wonder if this can crash when sounds get deleted + // only one way to find out - checkpoint and see if someone crashes :) + CHECKPOINT_M("Setting position for sound."); + vec[i].m_psound->SetPositionSeconds(vec[i].fSeconds); } }