Fixed Full Repair available even when vehicle is already fully repaired

This commit is contained in:
jonpas 2015-08-26 23:09:46 +02:00
parent ca991712e8
commit ce8da8d720

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));
};
};