1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00

Clarify why ruleset bindable must be set at the BDL of any base test scene

This commit is contained in:
Salman Ahmed 2020-06-06 19:20:06 +03:00
parent 0f78af7252
commit efd5e14410
No known key found for this signature in database
GPG Key ID: ED81FD33FD9B58BC

View File

@ -34,6 +34,8 @@ namespace osu.Game.Tests.Visual
[BackgroundDependencyLoader]
private void load()
{
// There are test scenes using current value of the ruleset bindable
// on their BDLs (example in TestSceneSliderSnaking's BDL)
Ruleset.Value = ruleset.RulesetInfo;
Dependencies.Cache(LocalConfig = new OsuConfigManager(LocalStorage));