Skip to content

Commit

Permalink
Generalized reading of external jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
Nifyr committed Oct 30, 2023
1 parent cfa6eee commit 15eabfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DataParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ private static void TryParseExternalStarters()
List<Starter> starters = new();
List<(string name, Starter obj)> files = fileManager.TryGetExternalJsons<Starter>($"Encounters\\Starter");
if (files.Count == 0) return;
files.Sort((t0, t1) => t0.name.CompareTo(t1.name));
foreach ((string _, Starter obj) in files)
starters.Add(obj);
gameData.starters = starters;
Expand Down

0 comments on commit 15eabfb

Please sign in to comment.