Skip to content

Commit

Permalink
Merge pull request #256 from Goosius1/metadata_teardown
Browse files Browse the repository at this point in the history
Added metadata teardown for primarytowngovernments
  • Loading branch information
Goosius1 authored Apr 28, 2021
2 parents 92315cd + 74007f9 commit 3fa5166
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ public static void removeSiegeMeta (Town town) {
if (town.hasMeta(sdf.getKey()))
town.removeMetaData(sdf);
sdf = (StringDataField) attackerSiegeContributors.clone();
if (town.hasMeta(sdf.getKey()))
town.removeMetaData(sdf);
sdf = (StringDataField) primaryTownGovernments.clone();
if (town.hasMeta(sdf.getKey()))
town.removeMetaData(sdf);

Expand Down

0 comments on commit 3fa5166

Please sign in to comment.