diff --git a/chameleonic.p8 b/chameleonic.p8 index 022ce99..9411a52 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -579,14 +579,6 @@ function player:update() -- todo: other anim stuff xs[#xs].px=0 xs[#xs].py=0 - xs[1].update=function(s) - if (s.rope) s.rope:prevent_highlight(true) - return true - end - xs[#xs].update=function(s) - if (s.rope) s.rope:prevent_highlight(false) - return true - end return xs end @@ -653,6 +645,7 @@ function player:update() end end + if (self.rope) self.rope:prevent_highlight(#self.todo) _apply(self,self.todo) if self.rope then