diff --git a/dayz_code/actions/repair_vehicle.sqf b/dayz_code/actions/repair_vehicle.sqf index 5c200d7e4..dac9649fd 100644 --- a/dayz_code/actions/repair_vehicle.sqf +++ b/dayz_code/actions/repair_vehicle.sqf @@ -51,7 +51,7 @@ _hitpoints = _vehicle call vehicle_getHitpoints; if (_damage >= 0.9) then {_color = "color='#ff0000'";}; //red _percent = round(_damage*100); - _string = format["Repair%1 (%3%)",_cmpt,_color,_percent]; //Repair - Part + _string = format["Repair%1 (%3 %4)",_cmpt,_color,_percent,"%"]; //Repair - Part _handle = dayz_myCursorTarget addAction [_string, "\z\addons\dayz_code\actions\repair.sqf",[_vehicle,_part,_x], 0, false, true, "",""]; s_player_repairActions set [count s_player_repairActions,_handle]; }; diff --git a/dayz_code/actions/salvage_vehicle.sqf b/dayz_code/actions/salvage_vehicle.sqf index 0571fd26c..a25ec0c74 100644 --- a/dayz_code/actions/salvage_vehicle.sqf +++ b/dayz_code/actions/salvage_vehicle.sqf @@ -53,7 +53,7 @@ _hitpoints = _vehicle call vehicle_getHitpoints; if (_damage >= 0.9) then {_color = "color='#ff0000'";}; //red _percent = round(_damage*100); - _string = format["Remove%1 (%3%)",_cmpt,_color,_percent]; //Remove - Part + _string = format["Remove%1 (%3 %4)",_cmpt,_color,_percent,"%"]; //Remove - Part _handle = dayz_myCursorTarget addAction [_string, "\z\addons\dayz_code\actions\salvage.sqf",[_vehicle,_part,_x], 0, false, true, "",""]; s_player_repairActions set [count s_player_repairActions,_handle]; };