Various fixes and changes for animations.

This commit is contained in:
firebingo 2018-04-29 14:14:09 -07:00
parent 57ddeb08f4
commit 00eaff29fb
4 changed files with 92 additions and 32 deletions

View file

@ -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();