自定义游戏的序列任务场地等数据退出后会保存

This commit is contained in:
MrZ626
2021-07-28 03:10:29 +08:00
parent 81b3082087
commit 512c78e192
7 changed files with 73 additions and 52 deletions

View File

@@ -87,7 +87,8 @@ function scene.keyDown(key,isRep)
if sure>20 then
TABLE.cut(FIELD)TABLE.cut(BAG)TABLE.cut(MISSION)
FIELD[1]=DATA.newBoard()
TABLE.update(customEnv0,CUSTOMENV)
freshMiniFieldVisible()
TABLE.update(require"parts.customEnv0",CUSTOMENV)
for _,W in next,scene.widgetList do W:reset()end
sure=0
SFX.play('finesseError',.7)