修复重构语言模块后说明书场景爆炸

This commit is contained in:
MrZ626
2021-09-22 10:07:14 +08:00
parent a2da057581
commit a0f8258cad

View File

@@ -2,7 +2,7 @@ local scene={}
function scene.sceneInit()
BG.set('cubes')
WIDGET.active.texts:setTexts(require("parts.language.manual_"..({'zh','zh','zh','en','en','en','en','en'})[SETTING.locale]))
WIDGET.active.texts:setTexts(require("parts.language.manual_"..(SETTING.locale:find'zh'and'zh'or'en')))
end
function scene.wheelMoved(_,y)