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:
parent
1113355753
commit
f0f37df67f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user