Fix showHud if set before display loaded

This commit is contained in:
PabstMirror 2016-05-31 01:53:28 -05:00
parent 4f515ec4e1
commit 6905e6f97f

View File

@ -303,6 +303,15 @@ call FUNC(assignedItemFix);
enableCamShake true;
//FUNC(showHud) needs to be refreshed if it was set during mission init
["ace_infoDisplayChanged", {
GVAR(showHudHash) params ["", "_masks"];
if (!(_masks isEqualTo [])) then {
[] call FUNC(showHud);
};
}] call CBA_fnc_addEventHandler;
//////////////////////////////////////////////////
// Eventhandler to set player names
//////////////////////////////////////////////////