mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
A bit more cleanup
This commit is contained in:
parent
09f54b06ac
commit
bdf283a4e1
@ -43,9 +43,7 @@ namespace osu.Game.IO.Serialization.Converters
|
||||
var list = new List<T>();
|
||||
|
||||
var obj = JObject.Load(reader);
|
||||
|
||||
var lookupTable = new List<string>();
|
||||
serializer.Populate(obj["lookup_table"].CreateReader(), lookupTable);
|
||||
var lookupTable = serializer.Deserialize<List<string>>(obj["lookup_table"].CreateReader());
|
||||
|
||||
foreach (var tok in obj["items"])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user