1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 01:39:54 +08:00

Use PointConverter

This commit is contained in:
Dean Herbert
2021-01-09 00:56:54 +09:00
Unverified
parent 9182f5dafb
commit 82725b59c0
+1 -3
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();