mirror of https://github.com/ppy/osu
Update player test scene `Ruleset` bindable from creation method
This commit is contained in:
parent
6b8de2a10b
commit
f21ea3b790
|
@ -57,7 +57,9 @@ protected void CreateTest(Action action)
|
||||||
|
|
||||||
protected void LoadPlayer()
|
protected void LoadPlayer()
|
||||||
{
|
{
|
||||||
var ruleset = Ruleset.Value.CreateInstance();
|
var ruleset = CreatePlayerRuleset();
|
||||||
|
Ruleset.Value = ruleset.RulesetInfo;
|
||||||
|
|
||||||
var beatmap = CreateBeatmap(ruleset.RulesetInfo);
|
var beatmap = CreateBeatmap(ruleset.RulesetInfo);
|
||||||
|
|
||||||
Beatmap.Value = CreateWorkingBeatmap(beatmap);
|
Beatmap.Value = CreateWorkingBeatmap(beatmap);
|
||||||
|
|
Loading…
Reference in New Issue