CloseDisplay 999 on Playerdeath

This commit is contained in:
He-Man 2017-12-19 17:22:29 +01:00
parent 8b6a25506d
commit f59defbb5a

View File

@ -43,6 +43,11 @@ if (vehicle _unit != _unit) then {
_unit action["Eject", vehicle _unit];
};
// Close display 999 (BIS_fnc_guiMessage), as it prevent display 46 from closing -> kick to lobby
if (!isnull (finddisplay 999)) then {
(finddisplay 999) closedisplay 0;
};
// save death position
profileNameSpace setVariable["EPOCHLastKnownDeath",[]];
_deathMarkerON = (getNumber(_config >> "playerDeathMarkerGPSOnly") isEqualTo 1);