mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Update UI.tscript
isFile check to prevent console whinging about no languageMap
This commit is contained in:
parent
6470b91d0a
commit
750190b70a
1 changed files with 3 additions and 2 deletions
|
|
@ -21,7 +21,8 @@ function UI::onCreate( %this )
|
||||||
// addLanguage("defaultTable","try","tr");
|
// addLanguage("defaultTable","try","tr");
|
||||||
createLangTable("defaultTable");
|
createLangTable("defaultTable");
|
||||||
setCoreLangTable("defaultTable");
|
setCoreLangTable("defaultTable");
|
||||||
exec("./langs/languageMap");
|
if(isFile("./langs/languageMap"))
|
||||||
|
exec("./langs/languageMap");
|
||||||
}
|
}
|
||||||
|
|
||||||
function UI::onDestroy( %this )
|
function UI::onDestroy( %this )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue