1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

Use PointConverter

This commit is contained in:
Dean Herbert 2021-01-09 00:56:54 +09:00
parent 9182f5dafb
commit 82725b59c0

View File

@ -29,9 +29,7 @@ namespace osu.Game.Tournament
Debug.Assert(str != null);
var split = str.Split(',');
return new Point(int.Parse(split[0]), int.Parse(split[1]));
return new PointConverter().ConvertFromString(str) as Point? ?? new Point();
}
var point = new Point();