Skip to content

Commit

Permalink
Fix #3 exception searching for overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
katycat5e committed Jan 18, 2024
1 parent 51e5c97 commit 9e023f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Runtime/OverrideManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ public static void ReloadOverrides(bool reloadAll)

private static IEnumerator ReloadOverridesWorker(bool reloadAll)
{
if (!Directory.Exists(OverrideDir))
{
Directory.CreateDirectory(OverrideDir);
}

foreach (string overrideFilePath in Directory.EnumerateFiles(OverrideDir, "*.csv"))
{
string sourceId = Path.GetFileNameWithoutExtension(overrideFilePath);
Expand Down

0 comments on commit 9e023f6

Please sign in to comment.