diff --git a/OpenRa.Game/Graphics/CursorSheetBuilder.cs b/OpenRa.Game/Graphics/CursorSheetBuilder.cs index 02a7af5191..6761851e80 100644 --- a/OpenRa.Game/Graphics/CursorSheetBuilder.cs +++ b/OpenRa.Game/Graphics/CursorSheetBuilder.cs @@ -1,4 +1,5 @@ -using System.Linq; +using System; +using System.Linq; using IjwFramework.Collections; using OpenRa.FileFormats; @@ -16,7 +17,7 @@ namespace OpenRa.Graphics var shp = new Dune2ShpReader(FileSystem.OpenWithExts(filename, exts)); return shp.Select(a => SheetBuilder.Add(a.Image, a.Size)).ToArray(); } - catch (System.IndexOutOfRangeException) // This will occur when loading a custom (RA-format) .shp + catch (IndexOutOfRangeException) // This will occur when loading a custom (RA-format) .shp { var shp = new ShpReader(FileSystem.OpenWithExts(filename, exts)); return shp.Select(a => SheetBuilder.Add(a.Image, shp.Size)).ToArray();