mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #6405 from acemod/fixExplosiveKilledDialogs
don't make Explosives close one display at death
This commit is contained in:
commit
74efc9c428
@ -21,10 +21,10 @@ TRACE_1("params",_unit);
|
||||
|
||||
if (_unit == ace_player) then {
|
||||
// close cellphone if open
|
||||
closeDialog 0;
|
||||
findDisplay 8855 closeDisplay 0;
|
||||
};
|
||||
|
||||
// Exit if no item:
|
||||
// Exit if no item
|
||||
if (({_x == "ACE_DeadManSwitch"} count (items _unit)) == 0) exitWith {};
|
||||
|
||||
private _range = getNumber (configFile >> "CfgWeapons" >> "ACE_DeadManSwitch" >> QGVAR(range));
|
||||
|
Loading…
Reference in New Issue
Block a user