1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 09:30:07 +08:00

Revert unnecessary change

This commit is contained in:
Bartłomiej Dach
2024-02-14 15:27:17 +01:00
Unverified
parent 1113355753
commit f0f37df67f
+1 -2
View File
@@ -121,8 +121,7 @@ namespace osu.Game.Screens.Select
value.EndsWith("ms", StringComparison.Ordinal) ? 1 :
value.EndsWith('s') ? 1000 :
value.EndsWith('m') ? 60000 :
value.EndsWith('h') ? 3600000 :
value.EndsWith('d') ? 86400000 : 1000;
value.EndsWith('h') ? 3600000 : 1000;
private static bool tryParseFloatWithPoint(string value, out float result) =>
float.TryParse(value, NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result);