mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-15 16:39:41 +00:00
Merge branch 'journalFirst' into 'master'
FIX: Serialize journal records first when saving plugins See merge request OpenMW/openmw!4405
This commit is contained in:
commit
1fcbcd5bfa
1 changed files with 4 additions and 3 deletions
|
@ -112,12 +112,13 @@ CSMDoc::Saving::Saving(Document& document, const std::filesystem::path& projectP
|
||||||
|
|
||||||
appendStage(new WriteCellCollectionStage(mDocument, mState));
|
appendStage(new WriteCellCollectionStage(mDocument, mState));
|
||||||
|
|
||||||
// Dialogue can reference objects and cells so must be written after these records for vanilla-compatible files
|
// Dialogue can reference objects, cells, and journals 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));
|
||||||
|
|
Loading…
Reference in a new issue