Systems now autosave too in the level editor.

This commit is contained in:
Scott Erickson 2014-01-27 10:39:16 -08:00
parent 8768d710ba
commit 9206dda3ba

View file

@ -30,6 +30,7 @@ module.exports = class SystemsTabView extends View
for system in @buildDefaultSystems()
url = "/db/level.system/#{system.original}/version/#{system.majorVersion}"
ls = new LevelSystem()
ls.saveBackups = true
do (url) -> ls.url = -> url
continue if @supermodel.getModelByURL ls.url
ls.fetch()