From 127ad5378f313a28193996e901f7ee22171000a1 Mon Sep 17 00:00:00 2001 From: cwspain Date: Tue, 16 Jan 2024 17:11:56 -0600 Subject: [PATCH] Fix record sheet label for infantry compartment. --- megameklab/src/megameklab/printing/PrintAero.java | 2 +- megameklab/src/megameklab/printing/PrintTank.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/megameklab/src/megameklab/printing/PrintAero.java b/megameklab/src/megameklab/printing/PrintAero.java index 069325d4e..d7ade351f 100644 --- a/megameklab/src/megameklab/printing/PrintAero.java +++ b/megameklab/src/megameklab/printing/PrintAero.java @@ -181,7 +181,7 @@ public String formatFeatures() { Map seating = new HashMap<>(); for (Transporter t : aero.getTransports()) { if (t instanceof TroopSpace) { - transport.merge("Infantry Bay", t.getUnused(), Double::sum); + transport.merge("Infantry Compartment", t.getUnused(), Double::sum); } else if (t instanceof StandardSeatCargoBay) { seating.merge(((Bay) t).getType(), (int) ((Bay) t).getCapacity(), Integer::sum); // include cargo bays for fighters and fixed wing, but small craft get a block for transport bays diff --git a/megameklab/src/megameklab/printing/PrintTank.java b/megameklab/src/megameklab/printing/PrintTank.java index 63bf359be..d6def265b 100644 --- a/megameklab/src/megameklab/printing/PrintTank.java +++ b/megameklab/src/megameklab/printing/PrintTank.java @@ -172,7 +172,7 @@ public String formatFeatures() { Map seating = new HashMap<>(); for (Transporter t : tank.getTransports()) { if (t instanceof TroopSpace) { - transport.merge("Infantry Bay", t.getUnused(), Double::sum); + transport.merge("Infantry Compartment", t.getUnused(), Double::sum); } else if (t instanceof StandardSeatCargoBay) { seating.merge(((Bay) t).getType(), (int) ((Bay) t).getCapacity(), Integer::sum); } else if (t instanceof Bay) {