fixed logic problem

This commit is contained in:
nomisum 2016-04-02 15:53:39 +02:00
parent 02e3e1c7ec
commit 5c87161118

View File

@ -29,7 +29,6 @@ if (animationState _unit != "ACE_FastRoping") exitWith {
_unit disableCollisionWith _dummy;
_unit attachTo [_dummy, [0, 0, -1.45]];
[_unit, "ACE_FastRoping", 2] call EFUNC(common,doAnimation);
};
[{
params ["_args", "_idPFH"];
@ -41,6 +40,8 @@ if (animationState _unit != "ACE_FastRoping") exitWith {
playSound QGVAR(Rope);
}, 1, [_unit]] call CBA_fnc_addPerFrameHandler;
};
//End of fast rope
if (isNull attachedTo _unit) exitWith {