自定义游戏设置项会自动更新

This commit is contained in:
MrZ626
2021-05-13 15:04:15 +08:00
parent 57e1213370
commit 57701c6041

View File

@@ -235,7 +235,12 @@ customEnv0={
bgm='infinite',
}
CUSTOMENV=FILE.load("conf/customEnv")--gameEnv for cutsom game
if not CUSTOMENV or CUSTOMENV.version~=VERSION.code then CUSTOMENV=TABLE.copy(customEnv0)end
if not CUSTOMENV or CUSTOMENV.version~=VERSION.code then
CUSTOMENV=TABLE.copy(customEnv0)
else
TABLE.complete(customEnv0,CUSTOMENV)
end
SETTING={--Settings
--Tuning
das=10,arr=2,dascut=0,