Serialization error fix

This commit is contained in:
IT07 2016-05-26 23:32:19 +02:00
parent aff604761e
commit 70ddaaee70

View File

@ -1,6 +1,8 @@
disableSerialization;
_dsp = uiNamespace getVariable ["RscDisplayVEMFrClient", displayNull];
if not isNull _dsp then
{
playSound "HintExpand";
if (count (uiNamespace getVariable ["VEMFrMsgQueue", []]) isEqualTo 0) then
{
(["RscDisplayVEMFrClient"] call BIS_fnc_rscLayer) cutFadeOut 0;
@ -77,7 +79,7 @@ if not isNull _dsp then
_ctrlMsg ctrlCommit 0.5;
_ctrlMsg setVariable ["expanded", true];
uiSleep (count (_x select 2) / 5);
uiSleep (count (_x select 2) / 10);
} else
{
_ctrlTitle ctrlSetText toUpper (_x select 1);
@ -94,7 +96,7 @@ if not isNull _dsp then
_ctrlMsg ctrlCommit 0.5;
_ctrlMsg setVariable ["expanded", true];
uiSleep (count (_x select 2) / 5);
uiSleep (count (_x select 2) / 10);
};
} forEach (uiNamespace getVariable ["VEMFrMsgQueue",[]]);
uiNamespace setVariable ["VEMFrMsgQueue", []];