Update UI.tscript

isFile check to prevent console whinging about no languageMap
This commit is contained in:
Sir-Skurpsalot 2025-12-12 20:41:53 -07:00 committed by GitHub
parent 6470b91d0a
commit 750190b70a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ function UI::onCreate( %this )
// addLanguage("defaultTable","try","tr");
createLangTable("defaultTable");
setCoreLangTable("defaultTable");
if(isFile("./langs/languageMap"))
exec("./langs/languageMap");
}