1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:07:52 +08:00

Revert unnecessary change

This commit is contained in:
Bartłomiej Dach 2024-02-14 15:27:17 +01:00
parent 1113355753
commit f0f37df67f
No known key found for this signature in database

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);