From ea04a7fec5545a67d26f219a35251e8d4b27b921 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Wed, 18 May 2022 14:13:58 +0200 Subject: [PATCH] Clear cached notifications when initializing a new map/mod --- OpenRA.Game/Sound/Sound.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Game/Sound/Sound.cs b/OpenRA.Game/Sound/Sound.cs index cd047ab6c2..4a70cc31cf 100644 --- a/OpenRA.Game/Sound/Sound.cs +++ b/OpenRA.Game/Sound/Sound.cs @@ -97,6 +97,7 @@ namespace OpenRA soundFormat.GetPCMInputStream().ReadAllBytes(), soundFormat.Channels, soundFormat.SampleBits, soundFormat.SampleRate); sounds = new Cache(filename => LoadSound(filename, loadIntoMemory)); currentSounds.Clear(); + currentNotifications.Clear(); video = null; }