Skip to content

Commit

Permalink
加一个错误语言设置的自动修正(大概有用吧)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jan 24, 2025
1 parent 4db7b07 commit 3ed8f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ LANG.init('zh',
end
end)()
)
if LANG.get(SETTING.locale)==LANG.get('zh') and SETTING.locale~='zh' then SETTING.locale='zh' end

-- Load background files from SOURCE ONLY
for _,v in next,fs.getDirectoryItems('parts/backgrounds') do
Expand Down

0 comments on commit 3ed8f67

Please sign in to comment.