Fix IDE0057

This commit is contained in:
RoosterDragon
2023-04-05 19:12:33 +01:00
committed by Pavel Penev
parent 5254348819
commit 023d80b94d
42 changed files with 104 additions and 104 deletions

View File

@@ -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);