Animation playing for doll, but looping

This commit is contained in:
ericrius1 2015-09-28 17:14:35 -07:00
parent d47f938f8d
commit 3f83d5a99a
2 changed files with 1 additions and 3 deletions

View file

@ -61,7 +61,6 @@
position: props.position
};
this.audioInjector.options = audioOptions;
print("ANIMATION FRAME INDEX " + props.animationFrameIndex)
},
@ -89,7 +88,6 @@
// it gives us a chance to set our local JavaScript object up. In this case it means:
// * remembering our entityID, so we can access it in cases where we're called without an entityID
this.entityID = entityID;
this.lastFrame = 80;
},
};
// entity scripts always need to return a newly constructed object of our type

View file

@ -660,7 +660,7 @@ function createBlocks(position) {
}
});
customKey, id, data
//customKey, id, data
setEntityCustomData(resetKey, entity, {
resetMe: true
});