Skip to content

Commit bb6b765

Browse files
committed
Add / Remove rope on tow activation / deactivation
1 parent 65e8e96 commit bb6b765

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/SA_AdvancedTowing/functions/fn_advancedTowingInit.sqf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ SA_Take_Tow_Ropes_Action = {
542542

543543
if(_canTakeTowRopes) then {
544544
[_vehicle,player] call SA_Take_Tow_Ropes;
545+
player removeItem "Exile_Item_Rope";
545546
};
546547

547548
};
@@ -588,6 +589,7 @@ SA_Put_Away_Tow_Ropes_Action = {
588589

589590
if(_canPutAwayTowRopes) then {
590591
[_vehicle,player] call SA_Put_Away_Tow_Ropes;
592+
player addItem "Exile_Item_Rope";
591593
};
592594

593595
};

0 commit comments

Comments
 (0)