1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

FIX: Serialize journal records first when saving plugins

This commit is contained in:
Dave Corley 2024-10-16 02:01:58 -07:00
parent bac0018a09
commit dbb29b2391

View file

@ -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 // 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, true));
appendStage(new WriteDialogueCollectionStage(mDocument, mState, false));
appendStage(new WritePathgridCollectionStage(mDocument, mState)); appendStage(new WritePathgridCollectionStage(mDocument, mState));
appendStage(new WriteLandTextureCollectionStage(mDocument, mState)); appendStage(new WriteLandTextureCollectionStage(mDocument, mState));