Skip to content

Commit

Permalink
fixed log vehicle name
Browse files Browse the repository at this point in the history
  • Loading branch information
mcb5637 committed Jun 21, 2020
1 parent a2abc5a commit 85a6a0f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ public static bool Prefix(Contract __instance, List<UnitResult> enemyMechs, List

foreach (VehicleDef d in enemyVehicles)
{
log.Log($"generating salvage for vehicle {d.Chassis.Description.Name}");
foreach (VehicleComponentRef r in d.Inventory)
{
log.Log(string.Format("added salvage {0} from nondestroyed loc", r.Def.Description.Id));
AddUpgradeToSalvage(__instance, r.Def, s, ___finalPotentialSalvage);
}
}
Expand Down

0 comments on commit 85a6a0f

Please sign in to comment.