mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
Fix: Editing an existing level was broken
This commit is contained in:
parent
37c72805cc
commit
e8d171ef14
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue