diff --git a/modinfo.lua b/modinfo.lua index 06c7205..de3000b 100644 --- a/modinfo.lua +++ b/modinfo.lua @@ -8,7 +8,7 @@ Implementa um sistema de economia no jogo atraves da disponibilizacao de uma loj - Permitir desintegracao de itens preciosos nao afeta itens unicos e obrigatorios para o andamento do jogo, como os altares da lua ]] author = "Otomai" -version = "1.2.1" +version = "1.2.2" forumthread = "" api_version = 10 diff --git a/modinfo_en.lua b/modinfo_en.lua index 6f4d2e7..7db0d07 100644 --- a/modinfo_en.lua +++ b/modinfo_en.lua @@ -8,7 +8,7 @@ It implements an in-game economy system through the provision of a store (in-gam - Allowing precious items to disintegrate does not affect unique and mandatory items for the game progress, such as moon altars ]] author = "Otomai" -version = "1.2.1" +version = "1.2.2" forumthread = "" api_version = 10 diff --git a/modmain.lua b/modmain.lua index ddf8aea..00cbede 100644 --- a/modmain.lua +++ b/modmain.lua @@ -7,13 +7,13 @@ local RECIPETABS = GLOBAL.RECIPETABS local TECH = GLOBAL.TECH local LAN_ = GetModConfigData('Language') -if (LAN_ == 3 or LAN_ = true) then +if LAN_ == 3 then require 'SEscripts/strings_cn' TUNING.SElan = "cn" elseif LAN_ == 2 then require 'SEscripts/strings_en' TUNING.SElan = "en" -elseif LAN_ == 1 or LAN_ = false then +elseif LAN_ == 1 then require 'SEscripts/strings_ptbr' TUNING.SElan = "en" end