the removal stickyness stat is now being used - so don't hide it when it's zero

This commit is contained in:
Jon Atkins
2014-03-07 19:30:32 +00:00
parent e261784315
commit 350175b235

View File

@ -111,7 +111,7 @@ window.getModDetails = function(d) {
if (!mod.stats.hasOwnProperty(key)) continue; if (!mod.stats.hasOwnProperty(key)) continue;
var val = mod.stats[key]; var val = mod.stats[key];
if (key === 'REMOVAL_STICKINESS' && val == 0) continue; // stat on all mods recently - unknown meaning, not displayed in stock client // if (key === 'REMOVAL_STICKINESS' && val == 0) continue; // stat on all mods recently - unknown meaning, not displayed in stock client
// special formatting for known mod stats, where the display of the raw value is less useful // special formatting for known mod stats, where the display of the raw value is less useful
if (mod.type === 'HEATSINK' && key === 'HACK_SPEED') val = (val/10000)+'%'; // 500000 = 50% if (mod.type === 'HEATSINK' && key === 'HACK_SPEED') val = (val/10000)+'%'; // 500000 = 50%