Merge pull request #20303 from peppy/hitobject-entry-nesting-stoled

Fix editor performance drop over time due to lingering nested object references
This commit is contained in:
Dean Herbert
2022-09-15 17:15:01 +09:00
committed by GitHub
4 changed files with 155 additions and 19 deletions

View File

@ -103,7 +103,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddUntilStep("hit first hitobject", () =>
{
InputManager.Click(MouseButton.Left);
return nextObjectEntry.Result.HasResult;
return nextObjectEntry.Result?.HasResult == true;
});
AddAssert("check correct object after hit", () => sampleTriggerSource.GetMostValidObject() == beatmap.HitObjects[1]);