Various fixes and changes for animations.
This commit is contained in:
parent
57ddeb08f4
commit
00eaff29fb
4 changed files with 92 additions and 32 deletions
|
@ -81,13 +81,11 @@ class UtageInfo {
|
|||
loadMissionTranslation(file, key) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if(this.translations[key]) {
|
||||
debugger;
|
||||
this.currentTranslation = this.translations[key];
|
||||
resolve();
|
||||
} else {
|
||||
commonFunctions.getFileJson(file)
|
||||
.then((success) => {
|
||||
debugger;
|
||||
this.translations[key] = success;
|
||||
this.currentTranslation = success;
|
||||
resolve();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue