Fix the music resetting from time to time

This commit is contained in:
abcdefg30
2016-09-17 19:43:09 +02:00
parent 7b4ddfcd63
commit 16776e8a97

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;