Load locale config and strings before telling server GUI ready

This commit is contained in:
Vortrex
2022-05-20 17:36:14 -05:00
parent 338ee8422d
commit bb0f76a8ff

View File

@@ -66,11 +66,14 @@ function initGUI() {
guiReady = true;
logToConsole(LOG_DEBUG, `[VRR.GUI] All GUI created successfully!`);
sendNetworkEventToServer("vrr.guiReady", true);
loadLocaleConfig();
loadAllLocaleStrings();
resetGUIStrings();
resetLocaleChooserOptions();
sendNetworkEventToServer("vrr.guiReady", true);
};
// ===========================================================================