1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:03:22 +08:00

Fix switch statement order in taiko judgements

This commit is contained in:
Ivan Pavluk 2018-12-04 21:48:22 +07:00
parent f2b806d303
commit 6c38db04ee
3 changed files with 6 additions and 6 deletions

View File

@ -24,10 +24,10 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{ {
switch(result) switch(result)
{ {
default:
return 0;
case HitResult.Great: case HitResult.Great:
return 0.0000003; return 0.0000003;
default:
return 0;
} }
} }
} }

View File

@ -19,12 +19,12 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{ {
switch (result) switch (result)
{ {
default:
return 0;
case HitResult.Good: case HitResult.Good:
return 100; return 100;
case HitResult.Great: case HitResult.Great:
return 300; return 300;
default:
return 0;
} }
} }

View File

@ -13,10 +13,10 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{ {
switch(result) switch(result)
{ {
default:
return 0;
case HitResult.Miss: case HitResult.Miss:
return -0.65; return -0.65;
default:
return 0;
} }
} }
} }