mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-29 22:37:02 +00:00
fix: stop elytra sound when going to mainmenu (#118)
This commit is contained in:
parent
ef0dad4ffc
commit
ac3ece01c7
|
|
@ -4438,6 +4438,8 @@ void Minecraft::setLevel(MultiPlayerLevel *level, int message /*=-1*/, shared_pt
|
|||
// 4J If we are setting the level to nullptr then we are exiting, so delete the levels
|
||||
if( level == nullptr )
|
||||
{
|
||||
if (soundEngine) soundEngine->stopElytraSound();
|
||||
|
||||
if(levels[0]!=nullptr)
|
||||
{
|
||||
delete levels[0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue