mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 19:32: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 list = new List<T>();
|
||||||
|
|
||||||
var obj = JObject.Load(reader);
|
var obj = JObject.Load(reader);
|
||||||
|
var lookupTable = serializer.Deserialize<List<string>>(obj["lookup_table"].CreateReader());
|
||||||
var lookupTable = new List<string>();
|
|
||||||
serializer.Populate(obj["lookup_table"].CreateReader(), lookupTable);
|
|
||||||
|
|
||||||
foreach (var tok in obj["items"])
|
foreach (var tok in obj["items"])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user