forked from pyrex/chameleonic
pull changes from upstream #4
@ -609,8 +609,9 @@ function player:_vanish_if_requested()
|
||||
if self.vanishing then
|
||||
self.vanish_frame+=1
|
||||
|
||||
if (self.fall_frame>10 or self.vanish_frame>20) then
|
||||
if (self.fall_frame>0 or self.vanish_frame>20) then
|
||||
level:restart()
|
||||
self.vanish_frame=20
|
||||
self.vanishing=false
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user