mirror of
https://github.com/sethduda/AdvancedTowing.git
synced 2024-08-30 17:32:12 +00:00
Detach helper object before deletion
This commit is contained in:
parent
5f6c52c72a
commit
b7d1aca8a0
@ -409,6 +409,7 @@ SA_Pickup_Tow_Ropes = {
|
|||||||
{
|
{
|
||||||
_attachedObj ropeDetach _x;
|
_attachedObj ropeDetach _x;
|
||||||
} forEach (_vehicle getVariable ["SA_Tow_Ropes",[]]);
|
} forEach (_vehicle getVariable ["SA_Tow_Ropes",[]]);
|
||||||
|
detach _attachedObj;
|
||||||
deleteVehicle _attachedObj;
|
deleteVehicle _attachedObj;
|
||||||
} forEach ropeAttachedObjects _vehicle;
|
} forEach ropeAttachedObjects _vehicle;
|
||||||
_helper = "Land_Can_V2_F" createVehicle position _player;
|
_helper = "Land_Can_V2_F" createVehicle position _player;
|
||||||
|
Loading…
Reference in New Issue
Block a user