Fix missing upgrades display on dev branch
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2775,7 +2775,7 @@ CM.Disp.AddMissingUpgrades = function() {
|
||||
let titlefrag = document.createElement('div');
|
||||
titlefrag.innerHTML = '<b>Missing normal upgrades:</b> '+ normalUpgradesMissing + '/' + (Game.UpgradesByPool[""].length + Game.UpgradesByPool.tech.length) + ' (' + Math.floor((normalUpgradesMissing / ( Game.UpgradesByPool[""].length + Game.UpgradesByPool.tech.length)) * 100) + '%)';
|
||||
title.appendChild(titlefrag);
|
||||
menuSection.insertBefore(title, l('menu').children[6].childNodes[3]);
|
||||
menuSection.insertBefore(title, menuSection.childNodes[3]);
|
||||
let upgrades = document.createElement('div');
|
||||
upgrades.className = "listing crateBox";
|
||||
upgrades.innerHTML = CM.Cache.MissingUpgrades;
|
||||
|
||||
Reference in New Issue
Block a user