From 7f7b6da7d9f439b2a43edae346020b78333c3b45 Mon Sep 17 00:00:00 2001 From: Hersi Date: Fri, 10 Nov 2023 07:59:18 +0100 Subject: [PATCH] set default language to english in case of wrong config --- scripts/language/call.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/language/call.lua b/scripts/language/call.lua index 39aa2c0..6b862bd 100644 --- a/scripts/language/call.lua +++ b/scripts/language/call.lua @@ -1,11 +1,11 @@ -local call = nil - local EN = require("language.EN") local DE = require("language.DE") local SK = require("language.SK") local HU = require("language.HU") local test2 = require("language.test2") +local call = EN + if game.GetSkinSetting('words') == "EN" then call = EN elseif game.GetSkinSetting('words') == "DE" then @@ -19,4 +19,4 @@ elseif game.GetSkinSetting('words') == "test2" then end -return call \ No newline at end of file +return call