From bc7bef857f2ec904c63fc7db43246d9eae687b57 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Mon, 22 Aug 2016 16:54:14 -0400 Subject: [PATCH] Fix r_action_count not reset in player_buildVanilla exit --- SQF/dayz_code/actions/player_buildVanilla.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_buildVanilla.sqf b/SQF/dayz_code/actions/player_buildVanilla.sqf index 7da8226b5..5295e9ede 100644 --- a/SQF/dayz_code/actions/player_buildVanilla.sqf +++ b/SQF/dayz_code/actions/player_buildVanilla.sqf @@ -87,7 +87,7 @@ if (!_ok) exitWith { _posReference = [player] call FNC_GetPos; _canBuild = [_posReference, _item, false] call DZE_BuildChecks; -if !(_canBuild select 0) exitWith {}; +if !(_canBuild select 0) exitWith {r_action_count = 0;}; // lets check player has requiredParts for upgrade _ok = true;