Merge pull request #29375 from ChangelingRain/borgeyefix

Converted borgs will properly show the glowing eye message at distances of 1
This commit is contained in:
Leo
2017-07-20 13:59:22 -03:00
committed by GitHub
@@ -34,7 +34,7 @@
if(cell && cell.charge <= 0)
msg += "<span class='warning'>Its battery indicator is blinking red!</span>\n"
if(is_servant_of_ratvar(src) && user.Adjacent(src) && !stat) //To counter pseudo-stealth by using headlamps
if(is_servant_of_ratvar(src) && get_dist(user, src) <= 1 && !stat) //To counter pseudo-stealth by using headlamps
msg += "<span class='warning'>Its eyes are glowing a blazing yellow!</span>\n"
switch(stat)