Skip to content

Commit

Permalink
chore: unswap node and nodeKey
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein committed Dec 8, 2020
1 parent fa1a615 commit e12b7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Invasion.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ class Invasion extends WorldstateObject {
* The node where the invasion is taking place
* @type {string}
*/
this.nodeKey = translator.node(data.Node, locale);
this.node = translator.node(data.Node, locale);

/**
* The node key where the invasion is taking place
* @type {string}
*/
this.node = translator.node(data.Node);
this.nodeKey = translator.node(data.Node);

/**
* The invasion's description
Expand Down

0 comments on commit e12b7eb

Please sign in to comment.