Skip to content

Commit

Permalink
Renamed level parameter of defences to amount.
Browse files Browse the repository at this point in the history
  • Loading branch information
skiwi2 committed Jan 8, 2016
1 parent 921f312 commit 0429105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ function processDefenceNodes(nodes) {
cloneLevelNode.removeChild(child);
}
}
var defenceLevel = cloneLevelNode.innerHTML.trim();
var defenceAmount = cloneLevelNode.innerHTML.trim();

defences.push({
id: buildingId,
level: defenceLevel
amount: defenceAmount
});
}
}
Expand Down

0 comments on commit 0429105

Please sign in to comment.