mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
CampaignView shouldn't use localStorage backups unless it's in editor mode.
This commit is contained in:
parent
227a8edffa
commit
a81663f06a
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ module.exports = class CampaignView extends RootView
|
|||
return
|
||||
|
||||
@campaign = new Campaign({_id:@terrain})
|
||||
@campaign.saveBackups = @editorMode
|
||||
@campaign = @supermodel.loadModel(@campaign, 'campaign').model
|
||||
|
||||
# Temporary attempt to make sure all earned rewards are accounted for. Figure out a better solution...
|
||||
|
|
Loading…
Reference in a new issue