Audio/Sound: Fix crash when destroying moved Sound

This commit is contained in:
SirLynix
2022-12-24 11:55:27 +01:00
parent fd29d8d031
commit 22ae68fdca

View File

@@ -43,6 +43,7 @@ namespace Nz
*/
Sound::~Sound()
{
if (m_source)
Stop();
}