scenes/levels: remove debris self-destruct when xspeed is 0
This commit is contained in:
parent
84882665d0
commit
ec765f95c6
|
@ -36,7 +36,7 @@ function Debris:update(dt)
|
|||
self.life = 1
|
||||
|
||||
local isInsideView = self:isInsideView()
|
||||
if (isInsideView == false) or (self.xsp == 0) then
|
||||
if (isInsideView == false) then
|
||||
self:destroy()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue