mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Merge branch 'realm-ruleset-setting-short-name' into realm-ruleset-keybinding-short-name
This commit is contained in:
@ -296,14 +296,8 @@ namespace osu.Game.Database
|
||||
}
|
||||
}
|
||||
|
||||
private string? getRulesetShortNameFromLegacyID(long rulesetId)
|
||||
{
|
||||
if (efContextFactory == null)
|
||||
return null;
|
||||
|
||||
using (var efContext = efContextFactory.Get())
|
||||
return efContext.RulesetInfo.First(r => r.ID == rulesetId)?.ShortName;
|
||||
}
|
||||
private string? getRulesetShortNameFromLegacyID(long rulesetId) =>
|
||||
efContextFactory?.Get().RulesetInfo.First(r => r.ID == rulesetId)?.ShortName;
|
||||
|
||||
/// <summary>
|
||||
/// Flush any active contexts and block any further writes.
|
||||
|
Reference in New Issue
Block a user