mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Use more direct reference in tests
This commit is contained in:
parent
f14a82e3a9
commit
d3fbc7cc53
@ -767,7 +767,7 @@ namespace osu.Game.Tests.Beatmaps.IO
|
||||
var osu = loadOsu(host);
|
||||
var manager = osu.Dependencies.Get<BeatmapManager>();
|
||||
|
||||
var working = osu.Dependencies.Get<BeatmapManager>().CreateNew(new OsuRuleset().RulesetInfo);
|
||||
var working = manager.CreateNew(new OsuRuleset().RulesetInfo);
|
||||
|
||||
manager.Save(working.BeatmapInfo, working.Beatmap);
|
||||
|
||||
@ -794,7 +794,7 @@ namespace osu.Game.Tests.Beatmaps.IO
|
||||
var osu = loadOsu(host);
|
||||
var manager = osu.Dependencies.Get<BeatmapManager>();
|
||||
|
||||
var working = osu.Dependencies.Get<BeatmapManager>().CreateNew(new OsuRuleset().RulesetInfo);
|
||||
var working = manager.CreateNew(new OsuRuleset().RulesetInfo);
|
||||
|
||||
((Beatmap)working.Beatmap).HitObjects.Add(new HitCircle { StartTime = 5000 });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user