Fix CA1305
This commit is contained in:
committed by
Matthias Mailänder
parent
486a07602b
commit
d83e579dfe
@@ -62,8 +62,8 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
var size = foundation.Split('x');
|
||||
if (size.Length == 2)
|
||||
{
|
||||
var x = int.Parse(size[0]);
|
||||
var y = int.Parse(size[1]);
|
||||
var x = Exts.ParseInt32Invariant(size[0]);
|
||||
var y = Exts.ParseInt32Invariant(size[1]);
|
||||
|
||||
var xOffset = (x - y) * grid.TileSize.Width / 4;
|
||||
var yOffset = (x + y) * grid.TileSize.Height / 4;
|
||||
|
||||
Reference in New Issue
Block a user