mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Full Repair menu not shown when damage returns 0 (#4621)
This commit is contained in:
parent
c5322bff37
commit
272ec37603
@ -72,7 +72,7 @@ class ACE_Repair {
|
|||||||
requiredEngineer = QGVAR(engineerSetting_fullRepair);
|
requiredEngineer = QGVAR(engineerSetting_fullRepair);
|
||||||
repairLocations[] = {QGVAR(fullRepairLocation)};
|
repairLocations[] = {QGVAR(fullRepairLocation)};
|
||||||
repairingTime = 30;
|
repairingTime = 30;
|
||||||
condition = "damage _target > 0";
|
condition = "0 < ({_x>0} count (getAllHitPointsDamage _target param [2,[]]))";
|
||||||
callbackSuccess = QUOTE(call FUNC(doFullRepair));
|
callbackSuccess = QUOTE(call FUNC(doFullRepair));
|
||||||
itemConsumed = QGVAR(consumeItem_ToolKit);
|
itemConsumed = QGVAR(consumeItem_ToolKit);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user