From c33112333e38bfe10c04fd2555816f9601d752e9 Mon Sep 17 00:00:00 2001 From: Whigital Date: Tue, 11 Feb 2020 23:42:25 +0100 Subject: [PATCH] conform isnil checking: fastroping --- addons/fastroping/functions/fnc_onRopeBreak.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/fastroping/functions/fnc_onRopeBreak.sqf b/addons/fastroping/functions/fnc_onRopeBreak.sqf index 023e53f762..9c089f5c91 100644 --- a/addons/fastroping/functions/fnc_onRopeBreak.sqf +++ b/addons/fastroping/functions/fnc_onRopeBreak.sqf @@ -42,7 +42,7 @@ private _unit = { if (_x isKindOf "CAManBase") exitWith {_x}; } forEach (attachedObjects (_brokenRope select 3)); -if !(isNil "_unit") then { +if (!isNil "_unit") then { if (_part == "top") then { detach _unit; } else {