Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tighten Campaign level denormalization and saving
* Before saving the campaign, load all missing levels and achievements so rewards are properly set * Have individually loaded levels save and report changes properly * Do not propagate campaignIndex from non-course campaigns to levels * Do not set level properties to 'undefined', making it seem like they have local changes * Update campaign indexes before saving the campaign * Have fetching achievements by campaign handle odd level original values * When a level is edited, propagate those changes to campaigns immediately
- Loading branch information
1 parent
9abf9dc
commit 43bf457
Showing
6 changed files
with
93 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters