Cleaner way of getting ForceControlScheme value

Co-authored-by: Susko3 <Susko3@protonmail.com>
This commit is contained in:
OpenSauce
2023-01-11 20:39:45 +00:00
committed by GitHub
parent a0ff03def3
commit 026a223129

View File

@ -59,7 +59,7 @@ namespace osu.Game.Rulesets.Taiko.UI
if (ForceControlScheme == null)
config.BindWith(TaikoRulesetSetting.TouchControlScheme, configTouchControlScheme);
else
configTouchControlScheme.Value = (TaikoTouchControlScheme)ForceControlScheme;
configTouchControlScheme.Value = ForceControlScheme.Value;
Children = new Drawable[]
{