Merge pull request #12041 from abcdefg30/musicReset

Fix the music resetting from time to time
This commit is contained in:
Oliver Brakmann
2016-09-18 15:57:17 +02:00
committed by GitHub

View File

@@ -76,6 +76,7 @@ namespace OpenRA
public void Initialize(ISoundLoader[] loaders, IReadOnlyFileSystem fileSystem)
{
sounds = new Cache<string, ISoundSource>(s => LoadSound(loaders, fileSystem, s));
currentSounds = new Dictionary<uint, ISound>();
music = null;
currentMusic = null;
video = null;