Remove extra calls to updateAllDrawableProperties (#222)

This commit is contained in:
Tim Mickel 2016-09-28 16:43:04 -04:00 committed by GitHub
parent 46a2fe76eb
commit a585a08a93
2 changed files with 0 additions and 2 deletions

View file

@ -38,7 +38,6 @@ util.inherits(Clone, Target);
Clone.prototype.initDrawable = function () {
if (this.renderer) {
this.drawableID = this.renderer.createDrawable();
this.updateAllDrawableProperties();
}
// If we're a clone, start the hats.
if (!this.isOriginal) {

View file

@ -50,7 +50,6 @@ Sprite.prototype.createClone = function () {
this.clones.push(newClone);
if (newClone.isOriginal) {
newClone.initDrawable();
newClone.updateAllDrawableProperties();
}
return newClone;
};