warframe-worldstate-data 2.10.5 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/data/factionsData.json +3 -0
- package/package.json +1 -1
- package/tools/translation.js +1 -1
package/data/factionsData.json
CHANGED
package/package.json
CHANGED
package/tools/translation.js
CHANGED
@@ -85,7 +85,7 @@ export const nodeMissionType = (key, dataOverride = 'en') => solNode(key, 'type'
|
|
85
85
|
* @returns {string} faction that controls the node
|
86
86
|
*/
|
87
87
|
export const nodeEnemy = (key, dataOverride = 'en') => {
|
88
|
-
return key in i18n(dataOverride).solNodes ? i18n(dataOverride).solNodes[key].enemy : lastResourceName(key) ?? key;
|
88
|
+
return key in i18n(dataOverride).solNodes ? i18n(dataOverride).solNodes[key].enemy : (lastResourceName(key) ?? key);
|
89
89
|
};
|
90
90
|
|
91
91
|
/**
|