diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index cd2813c6a..37155c7bf 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -7,6 +7,9 @@ private ["_obj","_objectID","_objectUID","_started","_finished","_animState","_i if(TradeInprogress) exitWith { cutText ["Remove already in progress." , "PLAIN DOWN"]; }; TradeInprogress = true; +player removeAction s_player_deleteBuild; +s_player_deleteBuild = 1; + _obj = _this select 3; _objOwnerID = _obj getVariable["CharacterID","0"]; @@ -189,4 +192,5 @@ if (_proceed) then { player playActionNow "stop"; }; }; -TradeInprogress = false; \ No newline at end of file +TradeInprogress = false; +s_player_deleteBuild = -1; \ No newline at end of file