Clear cached notifications when initializing a new map/mod

This commit is contained in:
abcdefg30
2022-05-18 14:13:58 +02:00
committed by atlimit8
parent 9d481854f3
commit ea04a7fec5

View File

@@ -97,6 +97,7 @@ namespace OpenRA
soundFormat.GetPCMInputStream().ReadAllBytes(), soundFormat.Channels, soundFormat.SampleBits, soundFormat.SampleRate);
sounds = new Cache<string, ISoundSource>(filename => LoadSound(filename, loadIntoMemory));
currentSounds.Clear();
currentNotifications.Clear();
video = null;
}