整理代码,使用TABLE.find

This commit is contained in:
MrZ626
2021-05-10 17:28:26 +08:00
parent f3eb95df93
commit fefa5433fd
10 changed files with 33 additions and 63 deletions

View File

@@ -65,9 +65,7 @@ function scene.keyDown(key)
end
elseif key=="delete"then
if sure>20 then
for _=1,#BAG do
rem(BAG)
end
TABLE.cut(BAG)
cur=0
sure=0
SFX.play('finesseError',.7)