vassalengine / vassal

VASSAL, the open-source boardgame engine
https://vassalengine.org
GNU Lesser General Public License v2.1
402 stars 96 forks source link

13315 - Preserve all attachments across save/load #13439

Closed BrentEaston closed 2 days ago

BrentEaston commented 4 days ago

During game load, earlier loaded pieces where quietly dropping attachments to pieces that had not yet been loaded. This fix records those attachments in the AttachmentManager as 'Pending Attachments'. At the end of the game load, prior to any startup GKC's running, the AttachmentManager is called to re-present all Pending Attachements to their owning Attachment traits to re-try the attachment.

BrentEaston commented 4 days ago

Mark confirms this resolves the issue.