mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix showHud if set before display loaded
This commit is contained in:
parent
4f515ec4e1
commit
6905e6f97f
@ -303,6 +303,15 @@ call FUNC(assignedItemFix);
|
|||||||
enableCamShake true;
|
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
|
// Eventhandler to set player names
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user