mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#231 - Close DAGR if player dead/null
This commit is contained in:
parent
50f5e2c858
commit
ed3fc5919f
@ -75,8 +75,7 @@ if ((_oldShowMode == DISPLAY_MODE_CLOSED) && {GVAR(currentShowMode) != DISPLAY_M
|
|||||||
[{
|
[{
|
||||||
PARAMS_2(_args,_pfID);
|
PARAMS_2(_args,_pfID);
|
||||||
EXPLODE_1_PVT(_args,_player);
|
EXPLODE_1_PVT(_args,_player);
|
||||||
|
if ((isNull ace_player) || {!alive ace_player} || {ace_player != _player} || {!("ACE_microDAGR" in (items ace_player))} || {GVAR(currentShowMode) == DISPLAY_MODE_CLOSED}) then {
|
||||||
if ((ace_player != _player) || {!("ACE_microDAGR" in (items ace_player))} || {GVAR(currentShowMode) == DISPLAY_MODE_CLOSED}) then {
|
|
||||||
//Close Display if still open:
|
//Close Display if still open:
|
||||||
if (GVAR(currentShowMode) != DISPLAY_MODE_CLOSED) then {
|
if (GVAR(currentShowMode) != DISPLAY_MODE_CLOSED) then {
|
||||||
[DISPLAY_MODE_CLOSED] call FUNC(openDisplay);
|
[DISPLAY_MODE_CLOSED] call FUNC(openDisplay);
|
||||||
|
Loading…
Reference in New Issue
Block a user