Merge pull request #11306 from Aranclanos/hatlessdog

Fixes a runtime caused when interacting with a hat-less Ian
This commit is contained in:
Cheridan
2015-08-23 21:48:39 -05:00
@@ -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."