From ffdb2ef6b4577746c1b42e966c40ab2dd2fac114 Mon Sep 17 00:00:00 2001 From: Scott Erickson <sderickson@gmail.com> Date: Tue, 30 Sep 2014 14:01:20 -0700 Subject: [PATCH] Fixed position updating for indie sprites. --- app/lib/surface/Lank.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/surface/Lank.coffee b/app/lib/surface/Lank.coffee index ea698e521..a3e8a468f 100644 --- a/app/lib/surface/Lank.coffee +++ b/app/lib/surface/Lank.coffee @@ -172,7 +172,7 @@ module.exports = Lank = class Lank extends CocoClass # Gets the sprite to reflect what the current state of the thangs and surface are return false if @stillLoading return false if @thang and @thang.stateChanged is false - @updatePosition() if frameChanged or @thang.bobHeight + @updatePosition() if frameChanged or @thang.bobHeight or @notOfThisWorld frameChanged = frameChanged or @targetScaleFactorX isnt @scaleFactorX or @targetScaleFactorY isnt @scaleFactorY if frameChanged @handledDisplayEvents = {}