mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +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 = () =>
|
PassCondition = () =>
|
||||||
{
|
{
|
||||||
var flashlightOverlay = Player.DrawableRuleset.Overlays
|
var flashlightOverlay = Player.DrawableRuleset.Overlays
|
||||||
.OfType<ModFlashlight<OsuHitObject>.Flashlight>()
|
.ChildrenOfType<ModFlashlight<OsuHitObject>.Flashlight>()
|
||||||
.First();
|
.First();
|
||||||
|
|
||||||
return Precision.AlmostEquals(mod.DefaultFlashlightSize * .5f, flashlightOverlay.GetSize());
|
return Precision.AlmostEquals(mod.DefaultFlashlightSize * .5f, flashlightOverlay.GetSize());
|
||||||
|
Loading…
Reference in New Issue
Block a user