mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
CloseDisplay 999 on Playerdeath
This commit is contained in:
parent
8b6a25506d
commit
f59defbb5a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user