mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 00:49:53 +08:00
Fix parsing of null configuration elements
This commit is contained in:
@@ -77,7 +77,8 @@ namespace osu.Game.Skinning
|
||||
val = val == "1" ? "true" : "false";
|
||||
|
||||
var bindable = new Bindable<TValue>();
|
||||
bindable.Parse(val);
|
||||
if (val != null)
|
||||
bindable.Parse(val);
|
||||
return bindable;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user