diff --git a/src/index.js b/src/index.js index d6fb1107c..d25ce3c78 100644 --- a/src/index.js +++ b/src/index.js @@ -189,7 +189,7 @@ VirtualMachine.prototype.fromJSON = function (json) { if (x === 'sprite') { continue; } - target[x] = obj.sprites[x]; + target[x] = obj.sprites[i][x]; } } this.editingTarget = this.runtime.targets[1];