forked from Mirrorlandia_minetest/minetest
Sounds: Don't pause new sounds when paused
This commit is contained in:
parent
4ee32c5441
commit
b2aa5d9261
@ -184,8 +184,7 @@ std::shared_ptr<PlayingSound> OpenALSoundManager::createPlayingSound(
|
||||
volume, pitch, start_time, pos_vel_opt);
|
||||
|
||||
sound->play();
|
||||
if (m_is_paused)
|
||||
sound->pause();
|
||||
|
||||
warn_if_al_error("createPlayingSound");
|
||||
return sound;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user