diff --git a/A3A/addons/core/functions/init/fn_initClient.sqf b/A3A/addons/core/functions/init/fn_initClient.sqf index 2fcb81a0d5..76c35937a2 100644 --- a/A3A/addons/core/functions/init/fn_initClient.sqf +++ b/A3A/addons/core/functions/init/fn_initClient.sqf @@ -64,7 +64,8 @@ while {true} do { if (dialog) then { sleep 0.1; continue }; // don't spam hints while the setup dialog is open private _stateStr = localize ("STR_A3A_feedback_serverinfo_" + A3A_startupState); isNil { [localize "STR_A3A_feedback_serverinfo", _stateStr, true] call A3A_fnc_customHint }; // not re-entrant, apparently - if (A3A_startupState == "completed") exitWith {}; + //if (A3A_startupState == "completed") exitWith {}; + if (!isNil "serverInitDone") exitWith {}; // speculative init order fix sleep 0.1; }; diff --git a/A3A/addons/core/functions/init/fn_initServer.sqf b/A3A/addons/core/functions/init/fn_initServer.sqf index e7bc59233b..dfe82f7fa6 100644 --- a/A3A/addons/core/functions/init/fn_initServer.sqf +++ b/A3A/addons/core/functions/init/fn_initServer.sqf @@ -303,9 +303,9 @@ if (A3A_hasACE) then { }; +A3A_startupState = "completed"; publicVariable "A3A_startupState"; serverInitDone = true; publicVariable "serverInitDone"; Info("Setting serverInitDone as true"); -A3A_startupState = "completed"; publicVariable "A3A_startupState"; // ********************* Initialize loops *******************************************