Merge pull request #731 from jannoteelem/fix-edit-level

Fix: Editing an existing level was broken
This commit is contained in:
Peter Cottle 2020-08-27 08:06:23 -06:00 committed by GitHub
commit ecb3424a2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ var LevelBuilder = Level.extend({
// if we are editing a level our behavior is a bit different
var editLevelJSON;
if (options.editLevel) {
LevelStore.getLevel(options.editLevel);
editLevelJSON = LevelStore.getLevel(options.editLevel);
options.level = editLevelJSON;
}