Use IReadOnlyFileSystem in Sound code.

This commit is contained in:
Paul Chote
2016-02-15 03:05:55 +00:00
parent d1d3d72edb
commit b9f8301959
3 changed files with 9 additions and 8 deletions

View File

@@ -92,6 +92,8 @@ namespace OpenRA
ChromeMetrics.Initialize(this);
ChromeProvider.Initialize(this);
Game.Sound.Initialize(SoundLoaders, fileSystem);
if (VoxelLoader != null)
VoxelLoader.Dispose();
VoxelLoader = new VoxelLoader(fileSystem);