diff --git a/scripts/components.js b/scripts/components.js index 8f5b17f..e434342 100644 --- a/scripts/components.js +++ b/scripts/components.js @@ -93,7 +93,7 @@ var sprite = { pick() { return this; }, boundingbox() { var dim = this.dimensions(); - dim = dim.scale(this.gameobject.gscale()); + dim = dim.scale(this.gameobject.scale); var realpos = dim.scale(0.5).add(this.pos); return bbox.fromcwh(realpos,dim); },