Misc remaining FileSystem cleanups.
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
|
||||
public override void ReadPacks(IniFile file, string filename)
|
||||
{
|
||||
using (var s = Game.ModData.ModFiles.Open(filename.Substring(0, filename.Length - 4) + ".bin"))
|
||||
using (var s = ModData.DefaultFileSystem.Open(filename.Substring(0, filename.Length - 4) + ".bin"))
|
||||
UnpackTileData(s);
|
||||
|
||||
ReadOverlay(file);
|
||||
|
||||
Reference in New Issue
Block a user