well fix it right

This commit is contained in:
Stefan Breunig
2013-02-05 14:26:57 +01:00
parent 3fd58d768b
commit e61eeab2bd
2 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,7 @@ window.getPortalLevel = function(d) {
lvl += parseInt(reso.level);
hasReso = true;
});
return hasReso ? Math.min(1, lvl/8) : 0;
return hasReso ? Math.max(1, lvl/8) : 0;
}
window.getPortalEnergy = function(d) {