decrease concertina "dismount" time, use ace checks (#4812)

IRL it’s just pushing them together again
This commit is contained in:
bux 2017-01-13 20:43:54 +01:00 committed by PabstMirror
parent 59ca44bb4b
commit 3f00da7365

View File

@ -23,7 +23,7 @@ if (uiNamespace getVariable [QEGVAR(interact_menu,cursorMenuOpened),false]) exit
params ["_wire", "_unit"];
private _config = (configFile >> "CfgVehicles" >> typeOf _unit);
private _delay = [120, 60] select (getNumber (_config >> "engineer") == 1 || {getNumber (_config >> "canDeactivateMines") == 1});
private _delay = [45, 30] select ([_unit] call EFUNC(common,isEngineer) || {[_unit] call EFUNC(common,isEOD)});
// TODO: Animation?
[