change switch cases

This commit is contained in:
Keijia 2020-08-22 12:10:31 +03:00
parent f9fe37a8a5
commit b5b2e523ad
1 changed files with 1 additions and 4 deletions

View File

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