mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Fix test failures
This commit is contained in:
parent
44d0dc6113
commit
46e5bda40c
@ -43,7 +43,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
||||
PassCondition = () =>
|
||||
{
|
||||
var flashlightOverlay = Player.DrawableRuleset.Overlays
|
||||
.OfType<ModFlashlight<OsuHitObject>.Flashlight>()
|
||||
.ChildrenOfType<ModFlashlight<OsuHitObject>.Flashlight>()
|
||||
.First();
|
||||
|
||||
return Precision.AlmostEquals(mod.DefaultFlashlightSize * .5f, flashlightOverlay.GetSize());
|
||||
|
Loading…
Reference in New Issue
Block a user