mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
Fix undefined color error in repair_vehicle.sqf
Same color error as f92b751 .
Also same issue in salvage_vehicle.sqf as described in #1828
Added setVariable exceptions for tank hit points.
This commit is contained in:
@@ -52,7 +52,7 @@ if (_is6WheelType) then {
|
||||
|
||||
_configVeh = configFile >> "cfgVehicles" >> "RepairParts" >> _x;
|
||||
_part = getText(_configVeh >> "part");
|
||||
if (isNil "_part") then { _part = "PartGeneric"; };
|
||||
if (_part == "") then { _part = "PartGeneric"; };
|
||||
|
||||
//get every damaged part no matter how tiny damage is!
|
||||
_damagePercent = str(round(_damage * 100))+"% Damage";
|
||||
|
||||
Reference in New Issue
Block a user