From 16776e8a9734a40e7d63f8e8eb8509f252762fa9 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sat, 17 Sep 2016 19:43:09 +0200 Subject: [PATCH] Fix the music resetting from time to time --- 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 80548da444..ce652081ca 100644 --- a/OpenRA.Game/Sound/Sound.cs +++ b/OpenRA.Game/Sound/Sound.cs @@ -76,6 +76,7 @@ namespace OpenRA public void Initialize(ISoundLoader[] loaders, IReadOnlyFileSystem fileSystem) { sounds = new Cache(s => LoadSound(loaders, fileSystem, s)); + currentSounds = new Dictionary(); music = null; currentMusic = null; video = null;