zhTW Type Images are now correctly loaded. (#1436)
This commit is contained in:
parent
d23d835687
commit
88f725e15a
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"textures": [
|
||||
{
|
||||
"image": "types_zh_CN.png",
|
||||
"image": "types_zh_TW.png",
|
||||
"format": "RGBA8888",
|
||||
"size": {
|
||||
"w": 32,
|
||||
|
|
|
@ -216,6 +216,10 @@ export class LoadingScene extends SceneBase {
|
|||
break;
|
||||
}
|
||||
if (Utils.verifyLang(lang)) {
|
||||
if (lang === "zh_CN") {
|
||||
// Load also the traditional Chinese since it doesn't have a separate language code in supportedLngs
|
||||
this.loadAtlas("types_zh_TW", "");
|
||||
}
|
||||
this.loadAtlas(`types_${lang}`, "");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue