1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

"Use" the hitobject

Obviously temporary.
This commit is contained in:
Dean Herbert 2017-09-05 21:30:14 +09:00
parent 0fc2e49ce6
commit 081b98ef39

View File

@ -44,13 +44,16 @@ namespace osu.Game.Rulesets.Osu.Scoring
foreach (var h in beatmap.HitObjects)
{
// TODO: add support for other object types.
AddJudgement(new OsuJudgement
if (h != null)
{
MaxScore = OsuScoreResult.Hit300,
Score = OsuScoreResult.Hit300,
Result = HitResult.Hit
});
// TODO: add support for other object types.
AddJudgement(new OsuJudgement
{
MaxScore = OsuScoreResult.Hit300,
Score = OsuScoreResult.Hit300,
Result = HitResult.Hit
});
}
}
}