mirror of https://github.com/ppy/osu
Fix scoring simulation not supporting juice
This commit is contained in:
parent
03fbf47bc2
commit
e4f915e5af
|
@ -21,6 +21,19 @@ protected override void SimulateAutoplay(Beatmap<CatchBaseHit> beatmap)
|
||||||
{
|
{
|
||||||
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