Merge pull request #2282 from jonpas/fixFullRepairCondition

Fixed Full Repair available even when vehicle is already fully repaired
This commit is contained in:
Glowbal 2015-08-26 23:23:08 +02:00
commit a0f030c35c

View File

@ -63,7 +63,7 @@ class ACE_Repair {
requiredEngineer = QGVAR(engineerSetting_fullRepair);
repairLocations[] = {QGVAR(fullRepairLocation)};
repairingTime = 30;
condition = "damage (_this select 1) > 0";
condition = "damage _target > 0";
callbackSuccess = QUOTE(call FUNC(doFullRepair));
};
};