From ac3ece01c74ed0059833201758fc51a70ba85c03 Mon Sep 17 00:00:00 2001 From: Necmi Date: Mon, 25 May 2026 22:17:36 +0300 Subject: [PATCH] fix: stop elytra sound when going to mainmenu (#118) --- Minecraft.Client/Minecraft.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Minecraft.Client/Minecraft.cpp b/Minecraft.Client/Minecraft.cpp index 0889da34..578a9479 100644 --- a/Minecraft.Client/Minecraft.cpp +++ b/Minecraft.Client/Minecraft.cpp @@ -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];