mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 13:20:32 +08:00
Remove obsoleted int parsing logic of configuration ruleset
This commit is contained in:
+1
-4
@@ -280,10 +280,7 @@ namespace osu.Game
|
||||
configRuleset = LocalConfig.GetBindable<string>(OsuSetting.Ruleset);
|
||||
uiScale = LocalConfig.GetBindable<float>(OsuSetting.UIScale);
|
||||
|
||||
var preferredRuleset = int.TryParse(configRuleset.Value, out int rulesetId)
|
||||
// int parsing can be removed 20220522
|
||||
? RulesetStore.GetRuleset(rulesetId)
|
||||
: RulesetStore.GetRuleset(configRuleset.Value);
|
||||
var preferredRuleset = RulesetStore.GetRuleset(configRuleset.Value);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user