Skip to content

Commit

Permalink
Merge pull request #4902 from IllianiCBT/spa_ClanTechSpecialistRemoval
Browse files Browse the repository at this point in the history
Added <50.01 Compatibility Handler for Removed Clan Tech Knowledge SPA
  • Loading branch information
HammerGS authored Sep 26, 2024
2 parents 5337910 + c74b5ee commit b70357d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MekHQ/src/mekhq/campaign/Campaign.java
Original file line number Diff line number Diff line change
Expand Up @@ -5291,6 +5291,11 @@ public void writeToXML(final PrintWriter pw) {
MHQXMLUtility.writeSimpleXMLCloseTag(pw, --indent, "skillTypes");
MHQXMLUtility.writeSimpleXMLOpenTag(pw, indent++, "specialAbilities");
for (String key : SpecialAbility.getSpecialAbilities().keySet()) {
// <50.01 compatibility handler
if (Objects.equals(key, "clan_tech_knowledge")) {
continue;
}

SpecialAbility.getAbility(key).writeToXML(pw, indent);
}
MHQXMLUtility.writeSimpleXMLCloseTag(pw, --indent, "specialAbilities");
Expand Down

0 comments on commit b70357d

Please sign in to comment.