Made translations support debug reloading

This commit is contained in:
Ben C 2022-04-21 00:16:07 -04:00
parent f95257f2eb
commit cf3bdc32b2

View File

@ -42,6 +42,7 @@ namespace NewHorizons.Utility
} }
Main.AssetBundles.Clear(); Main.AssetBundles.Clear();
TranslationHandler.ClearTables(); TranslationHandler.ClearTables();
TextTranslation.Get().SetLanguage(TextTranslation.Get().GetLanguage());
Logger.Log("Begin reload of config files...", Logger.LogType.Log); Logger.Log("Begin reload of config files...", Logger.LogType.Log);