reverse presentation order for BlackOps

This commit is contained in:
Olivier Gagnon 2019-03-22 19:14:55 -04:00 committed by danielyxie
parent fa14bb5362
commit 1c0201534b

@ -2166,9 +2166,7 @@ Bladeburner.prototype.createBlackOpsContent = function() {
return (a.reqdRank - b.reqdRank);
});
console.log(blackops);
for (var i = blackops.length-1; i >= 0 ; --i) {
console.log(i)
if (this.blackops[[blackops[i].name]] == null && i !== 0 && this.blackops[[blackops[i-1].name]] == null) {continue;} // If this one nor the next are completed then this isn't unlocked yet.
DomElems.blackops[blackops[i].name] = createElement("div", {
class:"bladeburner-action", name:blackops[i].name