forked from pyrex/chameleonic
Lower-token way to prevent flicker
This commit is contained in:
parent
14e37ba9dd
commit
4bb8612f75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user