mirror of
https://github.com/ppy/osu.git
synced 2025-02-11 10:12:58 +08:00
change switch cases
This commit is contained in:
parent
f9fe37a8a5
commit
b5b2e523ad
@ -43,10 +43,7 @@ namespace osu.Game.Screens.Select
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "dr" when parseFloatWithPoint(value, out var dr):
|
case "dr" when parseFloatWithPoint(value, out var dr):
|
||||||
updateCriteriaRange(ref criteria.DrainRate, op, dr, 0.1f / 2);
|
case "hp" when parseFloatWithPoint(value, out dr):
|
||||||
break;
|
|
||||||
|
|
||||||
case "hp" when parseFloatWithPoint(value, out var dr):
|
|
||||||
updateCriteriaRange(ref criteria.DrainRate, op, dr, 0.1f / 2);
|
updateCriteriaRange(ref criteria.DrainRate, op, dr, 0.1f / 2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user