From 61a1e458216e2d0b35d81809ddea6aad32b69bb5 Mon Sep 17 00:00:00 2001 From: mrpvtdagger Date: Wed, 3 Mar 2021 10:45:14 -0400 Subject: [PATCH] Fixed Release Action not Syncing --- ACE_MPD_SlingLoad/sling.sqf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ACE_MPD_SlingLoad/sling.sqf b/ACE_MPD_SlingLoad/sling.sqf index 9758ade..566827f 100644 --- a/ACE_MPD_SlingLoad/sling.sqf +++ b/ACE_MPD_SlingLoad/sling.sqf @@ -53,8 +53,7 @@ [_cargo , _frontCorner, [0,0,-1]] ropeAttachTo (_Rope3); [_cargo , _frontCorner2, [0,0,-1]] ropeAttachTo (_Rope4); - _nObject addAction ["Release Cargo", { - private ["_heli","_cargoRopes"]; + [_nObject, ["Release Cargo", { private ["_heli","_cargoRopes"]; _heli = _this select 0; _cargoRopes = ropes _heli; { @@ -66,5 +65,5 @@ _x setPos _pos; } forEach attachedObjects _heli; removeAllActions _heli; - },nil,1.5,true,true,"","true",8,false,"",""]; + },nil,1.5,true,true,"","true",8,false,"",""]] remoteExec ["addAction"]; }, {}, "Sling Loading..."] call ace_common_fnc_progressBar; //I was lazy... \ No newline at end of file