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;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void ClearTables()
|
||||||
|
{
|
||||||
|
_shipLogTranslationDictionary.Clear();
|
||||||
|
_dialogueTranslationDictionary.Clear();
|
||||||
|
_uiTranslationDictionary.Clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,6 +41,7 @@ namespace NewHorizons.Utility
|
|||||||
bundle.Unload(true);
|
bundle.Unload(true);
|
||||||
}
|
}
|
||||||
Main.AssetBundles.Clear();
|
Main.AssetBundles.Clear();
|
||||||
|
TranslationHandler.ClearTables();
|
||||||
|
|
||||||
Logger.Log("Begin reload of config files...", Logger.LogType.Log);
|
Logger.Log("Begin reload of config files...", Logger.LogType.Log);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user