Fix IDE0057
This commit is contained in:
committed by
Pavel Penev
parent
5254348819
commit
023d80b94d
@@ -165,7 +165,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
|
||||
public override void ReadPacks(IniFile file, string filename)
|
||||
{
|
||||
using (var s = File.OpenRead(filename.Substring(0, filename.Length - 4) + ".bin"))
|
||||
using (var s = File.OpenRead(filename[..^4] + ".bin"))
|
||||
UnpackTileData(s);
|
||||
|
||||
ReadOverlay(file);
|
||||
|
||||
Reference in New Issue
Block a user