mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +08:00
Fix scoring simulation not supporting juice
This commit is contained in:
parent
03fbf47bc2
commit
e4f915e5af
@ -21,6 +21,19 @@ namespace osu.Game.Rulesets.Catch.Scoring
|
|||||||
{
|
{
|
||||||
foreach (var obj in beatmap.HitObjects)
|
foreach (var obj in beatmap.HitObjects)
|
||||||
{
|
{
|
||||||
|
var stream = obj as JuiceStream;
|
||||||
|
|
||||||
|
if (stream != null)
|
||||||
|
{
|
||||||
|
AddJudgement(new CatchJudgement { Result = HitResult.Perfect });
|
||||||
|
AddJudgement(new CatchJudgement { Result = HitResult.Perfect });
|
||||||
|
|
||||||
|
foreach (var unused in stream.Ticks)
|
||||||
|
AddJudgement(new CatchJudgement { Result = HitResult.Perfect });
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
var fruit = obj as Fruit;
|
var fruit = obj as Fruit;
|
||||||
|
|
||||||
if (fruit != null)
|
if (fruit != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user