Fix: Editing an existing level was broken

This commit is contained in:
Janno Teelem 2020-08-27 10:27:05 +03:00
parent 37c72805cc
commit e8d171ef14

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;
}