Update Eyeglow

Updates eyeglow on a humanoid when the disabilities that trigger it are
toggled.
This commit is contained in:
KasparoVy
2018-02-09 20:12:30 -05:00
parent 5053b2aa74
commit 35c9e82cfc
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -128,10 +128,12 @@
/datum/dna/gene/disability/colourblindness/activate(var/mob/M, var/connected, var/flags)
..()
M.update_client_colour() //Handle the activation of the colourblindness on the mob.
M.update_icons() //Apply eyeglow as needed.
/datum/dna/gene/disability/colourblindness/deactivate(var/mob/M, var/connected, var/flags)
..()
M.update_client_colour() //Handle the deactivation of the colourblindness on the mob.
M.update_icons() //Remove eyeglow as needed.
/datum/dna/gene/disability/deaf
name="Deafness"
+2
View File
@@ -164,10 +164,12 @@
/datum/dna/gene/basic/xray/activate(mob/living/M, connected, flags)
..()
M.update_sight()
M.update_icons() //Apply eyeglow as needed.
/datum/dna/gene/basic/xray/deactivate(mob/living/M, connected, flags)
..()
M.update_sight()
M.update_icons() //Remove eyeglow as needed.
/datum/dna/gene/basic/tk
name="Telekenesis"