mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Close dagr when dropping item
This commit is contained in:
parent
ba9fce8636
commit
ef3b411c6c
@ -77,7 +77,10 @@ if ((_oldShowMode == DISPLAY_MODE_CLOSED) && {GVAR(currentShowMode) != DISPLAY_M
|
||||
EXPLODE_1_PVT(_args,_player);
|
||||
|
||||
if ((ace_player != _player) || {!("ACE_microDAGR" in (items ace_player))} || {GVAR(currentShowMode) == DISPLAY_MODE_CLOSED}) then {
|
||||
GVAR(currentShowMode) = DISPLAY_MODE_CLOSED;
|
||||
//Close Display if still open:
|
||||
if (GVAR(currentShowMode) != DISPLAY_MODE_CLOSED) then {
|
||||
[DISPLAY_MODE_CLOSED] call FUNC(openDisplay);
|
||||
};
|
||||
[_pfID] call CBA_fnc_removePerFrameHandler;
|
||||
} else {
|
||||
GVAR(gpsPositionASL) = getPosAsl ace_player;
|
||||
|
Loading…
Reference in New Issue
Block a user