Fix custom species synthetics using the burger hunger icon

This commit is contained in:
Little-119
2020-05-18 20:17:50 -04:00
parent 3cf33431f1
commit 45c36b09d5
+5 -5
View File
@@ -1225,16 +1225,16 @@
var/hungry_alert = /obj/screen/alert/hungry
var/starving_alert = /obj/screen/alert/starving
if(get_species() == SPECIES_CUSTOM)
if(isSynthetic())
fat_alert = /obj/screen/alert/fat/synth
hungry_alert = /obj/screen/alert/hungry/synth
starving_alert = /obj/screen/alert/starving/synth
else if(get_species() == SPECIES_CUSTOM)
var/datum/species/custom/C = species
if(/datum/trait/bloodsucker in C.traits)
fat_alert = /obj/screen/alert/fat/vampire
hungry_alert = /obj/screen/alert/hungry/vampire
starving_alert = /obj/screen/alert/starving/vampire
else if(isSynthetic())
fat_alert = /obj/screen/alert/fat/synth
hungry_alert = /obj/screen/alert/hungry/synth
starving_alert = /obj/screen/alert/starving/synth
switch(nutrition)
if(450 to INFINITY)