Fixes a runtime caused when interacting with a hat-less Ian

This commit is contained in:
Aranclanos
2015-08-20 22:34:03 -03:00
parent 531b19b5e9
commit db57f5834b
@@ -275,7 +275,9 @@
return valid
/mob/living/simple_animal/pet/dog/corgi/proc/update_corgi_fluff()
switch(src.inventory_head.type)
if(!inventory_head)
return
switch(inventory_head.type)
if(/obj/item/clothing/head/helmet)
name = "Sergeant [real_name]"
desc = "The ever-loyal, the ever-vigilant."