mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 12:23:21 +08:00
Change comparison direction
This commit is contained in:
parent
a59db976d6
commit
5c2778d5f0
@ -95,7 +95,7 @@ namespace osu.Game.Rulesets
|
|||||||
{
|
{
|
||||||
// todo: StartsWith can be changed to Equals on 2020-11-08
|
// todo: StartsWith can be changed to Equals on 2020-11-08
|
||||||
// This is to give users enough time to have their database use new abbreviated info).
|
// This is to give users enough time to have their database use new abbreviated info).
|
||||||
if (context.RulesetInfo.FirstOrDefault(ri => r.RulesetInfo.InstantiationInfo.StartsWith(ri.InstantiationInfo)) == null)
|
if (context.RulesetInfo.FirstOrDefault(ri => ri.InstantiationInfo.StartsWith(r.RulesetInfo.InstantiationInfo)) == null)
|
||||||
context.RulesetInfo.Add(r.RulesetInfo);
|
context.RulesetInfo.Add(r.RulesetInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user