Update player test scene `Ruleset` bindable from creation method

This commit is contained in:
Salman Ahmed 2021-07-11 03:46:19 +03:00
parent 6b8de2a10b
commit f21ea3b790
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ protected void CreateTest(Action action)
protected void LoadPlayer()
{
var ruleset = Ruleset.Value.CreateInstance();
var ruleset = CreatePlayerRuleset();
Ruleset.Value = ruleset.RulesetInfo;
var beatmap = CreateBeatmap(ruleset.RulesetInfo);
Beatmap.Value = CreateWorkingBeatmap(beatmap);