1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 18:12:56 +08:00

change switch cases

This commit is contained in:
Keijia 2020-08-22 12:10:31 +03:00
parent f9fe37a8a5
commit b5b2e523ad

View File

@ -43,10 +43,7 @@ namespace osu.Game.Screens.Select
break;
case "dr" when parseFloatWithPoint(value, out var dr):
updateCriteriaRange(ref criteria.DrainRate, op, dr, 0.1f / 2);
break;
case "hp" when parseFloatWithPoint(value, out var dr):
case "hp" when parseFloatWithPoint(value, out dr):
updateCriteriaRange(ref criteria.DrainRate, op, dr, 0.1f / 2);
break;