mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Fix r_action_count not reset in player_buildVanilla exit
This commit is contained in:
@@ -87,7 +87,7 @@ if (!_ok) exitWith {
|
|||||||
|
|
||||||
_posReference = [player] call FNC_GetPos;
|
_posReference = [player] call FNC_GetPos;
|
||||||
_canBuild = [_posReference, _item, false] call DZE_BuildChecks;
|
_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
|
// lets check player has requiredParts for upgrade
|
||||||
_ok = true;
|
_ok = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user