From 733f82a028178ea594a080fb2ddb5f56507d5f32 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Wed, 27 Nov 2013 00:12:39 -0500 Subject: [PATCH] #761 owner remove modular --- SQF/dayz_code/compile/fn_selfActions.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 357ecbe37..9fb9a019b 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -214,7 +214,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu }; //Allow owners to delete modulars - if(_isModular and (_ownerID == dayz_playerUID)) then { + if(_isModular and (dayz_characterID == _ownerID)) then { if(_hasToolbox and "ItemCrowbar" in _itemsPlayer) then { _player_deleteBuild = true; };