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));