Small tweak

This commit is contained in:
SweetSea-ButImNotSweet
2024-01-07 19:29:45 +07:00
parent 2816a76f5a
commit d61372c041
2 changed files with 7 additions and 2 deletions

View File

@@ -24,7 +24,12 @@ function scene.enter()
BG.set('tunnel')
end
function scene.back()
GAME.modUsed=usingMod()
local totalModUsed=0
for i=1,#GAME.mod do
if GAME.mod[i]>0 then totalModUsed=totalModUsed+1
end
end
GAME.modUsed=totalModUsed>0 and totalModUsed or false
end
function scene.mouseMove(x,y)