Skip to content

Commit

Permalink
修复皮肤设置的初始值相关
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Oct 31, 2024
1 parent 801f67b commit fe12f39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ do
for _,v in next,SETTING.skin do if v<1 or v>17 then v=17 end end
if not RSlist[SETTING.RS] then SETTING.RS='TRS' end
if SETTING.ghostType=='greyCell' then SETTING.ghostType='grayCell' end
if type(SETTING.skinSet)=='number' then SETTING.skinSet='crystal_scf' end
if type(SETTING.skinSet)=='number' then SETTING.skinSet='Crystal (Scf)' end
if string.find(SETTING.skinSet,"_") then SETTING.skinSet='Crystal (Scf)' end
if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul) then SETTING.frameMul=100 end
if SETTING.cv then SETTING.vocPack,SETTING.cv=SETTING.cv end
if type(SETTING.bg)~='string' then SETTING.bg='on' end
Expand Down
2 changes: 1 addition & 1 deletion parts/gameTables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ do-- Userdata tables
maxFPS=60,
frameMul=100,
locale='zh',
skinSet='crystal_scf',
skinSet='Crystal (Scf)',
skin={
1,7,11,3,14,4,9,
1,7,2,6,10,2,13,5,9,15,4,11,3,12,2,16,8,4,
Expand Down
2 changes: 1 addition & 1 deletion parts/player/gameEnv0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ return {
RS='TRS',
sequence='bag',
seqData={1,2,3,4,5,6,7},
skinSet='crystal_scf',
skinSet='Crystal (Scf)',
face=false,skin=false,
mission=false,

Expand Down

0 comments on commit fe12f39

Please sign in to comment.