More Nits

This commit is contained in:
vita10gy 2013-02-23 18:44:57 -06:00
parent 48ee7ce2af
commit ad234ce84d

View File

@ -61,7 +61,8 @@ window.plugin.portalWeakness.portalAdded = function(data) {
var color = 'orange';
if(only_shields) {
color = 'yellow';
//If only shields are missing, make portal yellow, but fill more than usual since pale yellow is basically invisible
//If only shields are missing, make portal yellow
//but fill more than usual since pale yellow is basically invisible
fill_opacity = missing_shields*.15 + .1;
} else if(missing_shields > 0) {
color = 'red';