Flashing mobs without eyes caused errors
This commit is contained in:
SoundScopes
2014-12-24 08:07:13 +00:00
parent f98eeafb76
commit f01bf616cf
6 changed files with 21 additions and 10 deletions
@@ -112,6 +112,8 @@
severity = min(max(severity, 0), 4)
var/mob/living/carbon/human/H = C
var/datum/organ/internal/eyes/E = H.internal_organs_by_name["eyes"]
if(!E)
return
switch(severity)
if(0)