mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:02:57 +08:00
Fix inspection
This commit is contained in:
parent
e56ea58e71
commit
0329601e84
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user