mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
Fix removeAction for salvage and repair
This commit is contained in:
@@ -2,11 +2,11 @@ private ["_part","_cancel","_color","_string","_handle","_damage","_cmpt","_vehi
|
||||
|
||||
_vehicle = _this select 3;
|
||||
dayz_myCursorTarget = _vehicle;
|
||||
{dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
|
||||
|
||||
_hitpoints = _vehicle call vehicle_getHitpoints;
|
||||
|
||||
if (count _hitpoints < 1) exitwith {};
|
||||
{dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
|
||||
|
||||
{
|
||||
_hitpoint = _x;
|
||||
|
||||
Reference in New Issue
Block a user