Skip to content

Commit

Permalink
Adding missing serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Windchild292 committed Feb 16, 2023
1 parent 7703c15 commit c687409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions megamek/src/megamek/common/util/SerializationHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public static XStream getSaveGameXStream() {
// Setup Permissions
xStream.allowTypes(new Class[] {
megamek.client.bot.princess.BehaviorSettings.class,
megamek.common.ArtilleryTracker.ArtilleryModifier.class,
megamek.common.Board.class,
megamek.common.Coords.class,
megamek.common.CompositeTechLevel.DateRange.class,
Expand All @@ -61,6 +62,7 @@ public static XStream getSaveGameXStream() {
megamek.common.Team.class,
megamek.common.Terrain.class,
megamek.common.Report.class,
megamek.common.force.Force.class,
megamek.server.SmokeCloud.class,
});
xStream.allowTypeHierarchy(megamek.common.BTObject.class);
Expand Down

0 comments on commit c687409

Please sign in to comment.