mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 00:47:24 +08:00
Fix mod perfect test scenes failing due to null ruleset provided
Just a workaround for now, a better fix may be to put the test data creation in an action that is guaranteed to be invoked after the test scene has fully loaded (all dependencies would've been resolved by then).
This commit is contained in:
parent
136e10086a
commit
bbad70c3f0
@ -22,7 +22,7 @@ namespace osu.Game.Tests.Visual
|
||||
Mod = mod,
|
||||
Beatmap = new Beatmap
|
||||
{
|
||||
BeatmapInfo = { Ruleset = Ruleset.Value },
|
||||
BeatmapInfo = { Ruleset = CreatePlayerRuleset().RulesetInfo },
|
||||
HitObjects = { testData.HitObject }
|
||||
},
|
||||
Autoplay = !shouldMiss,
|
||||
|
Loading…
Reference in New Issue
Block a user