This commit is contained in:
commy2 2018-06-25 08:42:43 +02:00 committed by GitHub
parent b7e3646697
commit 613c088124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ if (_unit == ace_player) then {
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));