fix broken check

This commit is contained in:
Kimapr 2023-03-29 15:09:02 +05:00
parent ea4071c6e1
commit 00b0f9361d

View file

@ -794,7 +794,8 @@ function love.update(dt)
dying=false dying=false
running=false running=false
resboard() resboard()
elseif entc==0 then end
if entc==0 and running then
toplchi=toplchi-dt toplchi=toplchi-dt
if toplchi<0 then if toplchi<0 then
toplchi=toplchi+plchint toplchi=toplchi+plchint