Skip to content

Commit

Permalink
Fix AssemblyRulesetStore not marking rulesets as available
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jun 2, 2024
1 parent f1689d5 commit 0911047
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion osu.Game/Rulesets/AssemblyRulesetStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ public AssemblyRulesetStore(Storage? storage = null)

// add all legacy rulesets first to ensure they have exclusive choice of primary key.
foreach (var r in instances.Where(r => r is ILegacyRuleset))
availableRulesets.Add(new RulesetInfo(r.RulesetInfo.ShortName, r.RulesetInfo.Name, r.RulesetInfo.InstantiationInfo, r.RulesetInfo.OnlineID));
{
availableRulesets.Add(new RulesetInfo(r.RulesetInfo.ShortName, r.RulesetInfo.Name, r.RulesetInfo.InstantiationInfo, r.RulesetInfo.OnlineID)
{
Available = true
});
}
}
}
}

0 comments on commit 0911047

Please sign in to comment.