自定义游戏菜单调整,新增重置按钮

This commit is contained in:
MrZ626
2021-04-28 17:17:26 +08:00
parent d5ca3113e2
commit 1fc4dae61b
9 changed files with 55 additions and 24 deletions

View File

@@ -193,8 +193,7 @@ USER=FILE.load("conf/user")or{--User infomation
--Local data
xp=0,lv=1,
}
CUSTOMENV=FILE.load("conf/customEnv")
if not CUSTOMENV or CUSTOMENV.version~=VERSION.code then CUSTOMENV={--gameEnv for cutsom game
customEnv0={
version=VERSION.code,
--Basic
@@ -233,7 +232,9 @@ if not CUSTOMENV or CUSTOMENV.version~=VERSION.code then CUSTOMENV={--gameEnv fo
--Else
bg="none",
bgm="infinite",
}end
}
CUSTOMENV=FILE.load("conf/customEnv")--gameEnv for cutsom game
if not CUSTOMENV or CUSTOMENV.version~=VERSION.code then CUSTOMENV=TABLE.copy(customEnv0)end
SETTING={--Settings
--Tuning
das=10,arr=2,dascut=0,