Fixed Release Action not Syncing

This commit is contained in:
mrpvtdagger 2021-03-03 10:45:14 -04:00
parent d39998ac14
commit 61a1e45821

View File

@ -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...