From dbb29b2391b81aa24682898275f1afcf9e575082 Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Wed, 16 Oct 2024 02:01:58 -0700 Subject: [PATCH] FIX: Serialize journal records first when saving plugins --- apps/opencs/model/doc/saving.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/doc/saving.cpp b/apps/opencs/model/doc/saving.cpp index ed785c38fe..58247ea92a 100644 --- a/apps/opencs/model/doc/saving.cpp +++ b/apps/opencs/model/doc/saving.cpp @@ -114,10 +114,10 @@ CSMDoc::Saving::Saving(Document& document, const std::filesystem::path& projectP // Dialogue can reference objects and cells so must be written after these records for vanilla-compatible files - appendStage(new WriteDialogueCollectionStage(mDocument, mState, false)); - appendStage(new WriteDialogueCollectionStage(mDocument, mState, true)); + appendStage(new WriteDialogueCollectionStage(mDocument, mState, false)); + appendStage(new WritePathgridCollectionStage(mDocument, mState)); appendStage(new WriteLandTextureCollectionStage(mDocument, mState));