mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Made translation support reloading
This commit is contained in:
parent
ce088f499a
commit
aa7e285b27
@ -140,5 +140,12 @@ namespace NewHorizons.Handlers
|
||||
|
||||
return key;
|
||||
}
|
||||
|
||||
public static void ClearTables()
|
||||
{
|
||||
_shipLogTranslationDictionary.Clear();
|
||||
_dialogueTranslationDictionary.Clear();
|
||||
_uiTranslationDictionary.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,6 +41,7 @@ namespace NewHorizons.Utility
|
||||
bundle.Unload(true);
|
||||
}
|
||||
Main.AssetBundles.Clear();
|
||||
TranslationHandler.ClearTables();
|
||||
|
||||
Logger.Log("Begin reload of config files...", Logger.LogType.Log);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user