From 51d829786c62b4ab9cfce8fe178ae213b511e551 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Tue, 29 Nov 2016 18:07:50 -0500 Subject: [PATCH] Update index.js --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index f7473a723..29e752289 100644 --- a/src/index.js +++ b/src/index.js @@ -181,6 +181,9 @@ VirtualMachine.prototype.importFromJson = function (json) { var target = sprite.createClone(); this.runtime.targets.push(target); for (x in obj.sprites[i]) { + if (x == "sprite") { + continue; + } target[x] = obj.sprites[y]; } }