From c9de2dca8dbbcc1b056388be0fc35abc45360f6f Mon Sep 17 00:00:00 2001 From: Panisher Date: Sun, 1 Sep 2024 21:48:51 +0300 Subject: [PATCH] The fall direction will then be away from player position. --- addons/axe/functions/fn_cutDownTree.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/axe/functions/fn_cutDownTree.sqf b/addons/axe/functions/fn_cutDownTree.sqf index 65125456..d067fd31 100644 --- a/addons/axe/functions/fn_cutDownTree.sqf +++ b/addons/axe/functions/fn_cutDownTree.sqf @@ -20,7 +20,7 @@ if !(_unit call ace_common_fnc_isSwimming) then { private _onCompletion = { (_this select 0) params ["_treeObject", "", "_unit"]; - _treeObject setdamage 1; + _treeObject setDamage [1, true, _unit]; [_treeObject] call FUNC(checkCutDown); if !(_unit call ace_common_fnc_isSwimming) then { [_unit, "AmovPknlMstpSrasWrflDnon", 1] call ace_common_fnc_doAnimation;