mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 17:03:18 +08:00
Fix parsing of null configuration elements
This commit is contained in:
parent
04c2c33c64
commit
f655cd4516
@ -77,6 +77,7 @@ namespace osu.Game.Skinning
|
|||||||
val = val == "1" ? "true" : "false";
|
val = val == "1" ? "true" : "false";
|
||||||
|
|
||||||
var bindable = new Bindable<TValue>();
|
var bindable = new Bindable<TValue>();
|
||||||
|
if (val != null)
|
||||||
bindable.Parse(val);
|
bindable.Parse(val);
|
||||||
return bindable;
|
return bindable;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user