Merge pull request #6405 from acemod/fixExplosiveKilledDialogs

don't make Explosives close one display at death
This commit is contained in:
commy2 2018-06-25 08:43:44 +02:00 committed by GitHub
commit 74efc9c428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));