1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 18:23:04 +08:00

Add TODO reminder about ruleset reference transfer quirk

This commit is contained in:
Dean Herbert 2021-10-04 16:55:16 +09:00
parent 4df5f93152
commit fd6b10656c

View File

@ -38,6 +38,7 @@ namespace osu.Game.Rulesets
var ruleset = Activator.CreateInstance(type) as Ruleset; var ruleset = Activator.CreateInstance(type) as Ruleset;
// overwrite the pre-populated RulesetInfo with a potentially database attached copy. // overwrite the pre-populated RulesetInfo with a potentially database attached copy.
// TODO: figure if we still want/need this after switching to realm.
// ruleset.RulesetInfo = this; // ruleset.RulesetInfo = this;
return ruleset; return ruleset;