mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Sounds: Don't pause new sounds when paused
This commit is contained in:
parent
4ee32c5441
commit
b2aa5d9261
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue