From 00b0f9361d0aafe8e1d1978835ba3fb3c8932f58 Mon Sep 17 00:00:00 2001 From: Kimapr Date: Wed, 29 Mar 2023 15:09:02 +0500 Subject: [PATCH] fix broken check --- main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 2c80278..c8b949c 100644 --- a/main.lua +++ b/main.lua @@ -794,7 +794,8 @@ function love.update(dt) dying=false running=false resboard() - elseif entc==0 then + end + if entc==0 and running then toplchi=toplchi-dt if toplchi<0 then toplchi=toplchi+plchint