From b315c15cb01304b90cde7e8aad1e5c9b6272d426 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Wed, 21 Sep 2016 18:43:23 -0400 Subject: [PATCH] Update vanilla chop wood Vanilla commit: https://github.com/DayZMod/DayZ/commit/1bca53125459c2769af7bd6b583c8b8d9bbc16d9 --- SQF/dayz_code/actions/player_chopWood.sqf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/player_chopWood.sqf b/SQF/dayz_code/actions/player_chopWood.sqf index dbdce6e2f..0bb53285d 100644 --- a/SQF/dayz_code/actions/player_chopWood.sqf +++ b/SQF/dayz_code/actions/player_chopWood.sqf @@ -108,13 +108,14 @@ if (count _findNearestTree > 0) then { format[localize "str_player_24_progress", _counter,_countOut] call dayz_rollingMessages; }; - if (_proceed) then { + if (_proceed ||(_counter > 0) ) then { //remove vehicle, Need to ask server to remove. PVDZ_objgather_Knockdown = [_tree,player]; publicVariableServer "PVDZ_objgather_Knockdown"; //"Chopping down tree." call dayz_rollingMessages; //localize "str_player_25" call dayz_rollingMessages; - } else { + }; + if !(_proceed) then { localize "str_player_24_Stoped" call dayz_rollingMessages; r_interrupt = false;