mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Merge pull request #28767 from bdach/editor-test-play-ur-counter-crash
Fix editor player crashing with UR counter present in skin
This commit is contained in:
commit
44ebec07bb
@ -72,7 +72,11 @@ namespace osu.Game.Screens.Edit.GameplayTest
|
||||
foreach (var hitObject in enumerateHitObjects(DrawableRuleset.Objects, editorState.Time))
|
||||
{
|
||||
var judgement = hitObject.Judgement;
|
||||
var result = new JudgementResult(hitObject, judgement) { Type = judgement.MaxResult };
|
||||
var result = new JudgementResult(hitObject, judgement)
|
||||
{
|
||||
Type = judgement.MaxResult,
|
||||
GameplayRate = GameplayClockContainer.GetTrueGameplayRate(),
|
||||
};
|
||||
|
||||
HealthProcessor.ApplyResult(result);
|
||||
ScoreProcessor.ApplyResult(result);
|
||||
|
Loading…
Reference in New Issue
Block a user