diff --git a/megamek/src/megamek/common/EntityListFile.java b/megamek/src/megamek/common/EntityListFile.java index 07942d20ead..c4e90ea4e13 100644 --- a/megamek/src/megamek/common/EntityListFile.java +++ b/megamek/src/megamek/common/EntityListFile.java @@ -1123,6 +1123,7 @@ private static void writePilotAttributes(Writer output, final Entity entity, fin output.write("\" " + MULParser.ATTR_NICK + "=\""); output.write(crew.getNickname(pos).replaceAll("\"", """)); output.write("\" " + MULParser.ATTR_GENDER + "=\"" + crew.getGender(pos).name()); + output.write("\" " + MULParser.ATTR_CLANPILOT + "=\"" + crew.isClanPilot(pos)); if ((null != entity.getGame()) && entity.getGame().getOptions().booleanOption(OptionsConstants.RPG_RPG_GUNNERY)) { diff --git a/megamek/src/megamek/common/MULParser.java b/megamek/src/megamek/common/MULParser.java index 8f3aac87ebf..47392906877 100644 --- a/megamek/src/megamek/common/MULParser.java +++ b/megamek/src/megamek/common/MULParser.java @@ -117,7 +117,7 @@ public class MULParser { private static final String ATTR_CURRENTSIZE = "currentsize"; public static final String ATTR_EXT_ID = "externalId"; public static final String ATTR_PICKUP_ID = "pickUpId"; - private static final String ATTR_CLANPILOT = "clanperson"; + public static final String ATTR_CLANPILOT = "clanperson"; public static final String ATTR_NICK = "nick"; public static final String ATTR_GENDER = "gender"; public static final String ATTR_CAT_PORTRAIT = "portraitCat";