From 431a6bdd4dbf5363dcd26f2b4bd201bc7f6a68fb Mon Sep 17 00:00:00 2001 From: FenPhoenix Date: Fri, 26 Apr 2019 05:28:28 -0700 Subject: [PATCH] Really v1.0.10 --- AngelLoader/Core.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AngelLoader/Core.cs b/AngelLoader/Core.cs index 1572af13b..781181249 100644 --- a/AngelLoader/Core.cs +++ b/AngelLoader/Core.cs @@ -101,8 +101,10 @@ internal static async Task Init() // name in its own language var langFiles = Directory.GetFiles(Paths.Languages, "*.ini", SearchOption.TopDirectoryOnly); bool selFound = false; + // Do it ONCE here, not every loop! Config.LanguageNames.Clear(); + for (int i = 0; i < langFiles.Length; i++) { var f = langFiles[i];