From 5391ee63b15ea6d5d2d65f71cfe13c6564a87420 Mon Sep 17 00:00:00 2001 From: otomay Date: Sun, 14 Jan 2024 15:06:26 -0300 Subject: [PATCH] release 1.2.1 --- modinfo.lua | 2 +- modinfo_en.lua | 2 +- modmain.lua | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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