diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_playerDeath.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_playerDeath.sqf index abb9de17..59f8656f 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_playerDeath.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_playerDeath.sqf @@ -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);