Trigger gui ready in initGUI

This commit is contained in:
Vortrex
2021-12-22 23:32:50 -06:00
parent a6d6e23acf
commit 5fbe1265e4

View File

@@ -79,6 +79,7 @@ function initGUI() {
guiReady = true;
logToConsole(LOG_DEBUG, `[VRR.GUI] All GUI created successfully!`);
triggerNetworkEvent("vrr.guiReady", true);
};
// ===========================================================================
@@ -231,7 +232,6 @@ addNetworkHandler("vrr.guiColour", function(red1, green1, blue1, red2, green2, b
focusedColour = [red1+focusedColourOffset, green1+focusedColourOffset, blue1+focusedColourOffset];
initGUI();
triggerNetworkEvent("vrr.guiReady", true);
});
// ===========================================================================