From c6cc7f8d1ec5ecafb13299a496c0868ff060fcad Mon Sep 17 00:00:00 2001 From: Skaronator Date: Mon, 3 Feb 2014 17:00:43 +0100 Subject: [PATCH] Fix Var --- SQF/dayz_code/compile/fn_selfActions.sqf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 5cc466a5e..4eae319a0 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -1,4 +1,3 @@ - scriptName "Functions\misc\fn_selfActions.sqf"; /*********************************************************** ADD ACTIONS FOR SELF @@ -650,7 +649,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu }; // inplace maintenance tool - if((_cursorTarget isKindOf "ModularItems" or _cursorTarget isKindOf "DZE_Housebase" or _typeOfCursorTarget in DZE_ExtraMaintain) and (damage _cursorTarget >= DZE_DamageBeforeMaint)) then { + if((_cursorTarget isKindOf "ModularItems" or _cursorTarget isKindOf "DZE_Housebase" or _typeOfCursorTarget == "LightPole_DZ") and (damage _cursorTarget >= DZE_DamageBeforeMaint)) then { if ((s_player_lastTarget select 2) != _cursorTarget) then { if (s_player_maint_build > 0) then { player removeAction s_player_maint_build;