Use pattern matching in FieldSaver

This commit is contained in:
abcdefg30
2021-01-08 22:21:43 +01:00
committed by teinarss
parent d6a05f2ea2
commit fd75e03d9c
2 changed files with 3 additions and 24 deletions

View File

@@ -126,7 +126,7 @@ namespace OpenRA.Primitives
public override string ToString()
{
return string.Format("{{X={0},Y={1},Width={2},Height={3}}}", X, Y, Width, Height);
return "{0},{1},{2},{3}".F(X, Y, Width, Height);
}
}
}