FIX: _target not define (#8536)

This commit is contained in:
Vdauphin 2021-10-17 00:17:20 +02:00 committed by GitHub
parent 290ce934f4
commit 5fc9856b61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ _args params ["_state", "_unit", "_parent", "_rope", "_length", "_ropeClass"];
private _exitCondition = !(
(alive GVAR(attachHelper)) &&
{ alive _target } &&
{ alive _parent } &&
{ alive _unit } &&
{ "" isEqualTo currentWeapon _unit || { _unit call EFUNC(common,isSwimming) }} &&
{ [_unit, objNull, [INTERACTION_EXCEPTIONS]] call EFUNC(common,canInteractWith) } &&