整理代码,使用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

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