From 512f1d852bed6c2af5c1a0e08eb2e45ce10c1cd4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 1 May 2021 20:11:47 +0200 Subject: [PATCH] - fixed: Blood's summary screen needs to stop it sound when it ends. --- wadsrc/static/zscript/games/blood/ui/screens.zs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wadsrc/static/zscript/games/blood/ui/screens.zs b/wadsrc/static/zscript/games/blood/ui/screens.zs index 99a4933ca..ba0b38585 100644 --- a/wadsrc/static/zscript/games/blood/ui/screens.zs +++ b/wadsrc/static/zscript/games/blood/ui/screens.zs @@ -199,6 +199,11 @@ class BloodSummaryScreen : SummaryScreenBase BloodScreen.DrawText(font, text, 160, 134, 1, shadow:font == SmallFont2); } } + + override void OnDestroy() + { + Raze.StopAllSounds(); + } } //---------------------------------------------------------------------------