mirror of https://github.com/ppy/osu
change switch cases
This commit is contained in:
parent
f9fe37a8a5
commit
b5b2e523ad
|
@ -43,10 +43,7 @@ private static void parseKeywordCriteria(FilterCriteria criteria, string key, st
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue