mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 04:52:57 +08:00
Fix switch statement order in taiko judgements
This commit is contained in:
parent
f2b806d303
commit
6c38db04ee
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user