[MIRROR] Fixes borg light overlays [MDB IGNORE] (#8645)

* Fixes borg light overlays (#61920)

* Fixes borg light overlays

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-06 19:44:32 +02:00
committed by GitHub
parent 6421c7d222
commit 7bf7d62bc5
@@ -314,11 +314,11 @@
if(lamp_enabled || lamp_doom)
eye_lights.icon_state = "[model.special_light_key ? "[model.special_light_key]":"[model.cyborg_base_icon]"]_l"
eye_lights.color = lamp_doom? COLOR_RED : lamp_color
eye_lights.plane = 19 //glowy eyes
eye_lights.plane = ABOVE_LIGHTING_PLANE //glowy eyes
else
eye_lights.icon_state = "[model.special_light_key ? "[model.special_light_key]":"[model.cyborg_base_icon]"]_e"
eye_lights.color = COLOR_WHITE
eye_lights.plane = -1
eye_lights.plane = GAME_PLANE
eye_lights.icon = icon
add_overlay(eye_lights)
@@ -612,6 +612,7 @@
diag_hud_set_health()
diag_hud_set_aishell()
update_health_hud()
update_icons() //Updates eye_light overlay
/mob/living/silicon/robot/revive(full_heal = FALSE, admin_revive = FALSE)
if(..()) //successfully ressuscitated from death