Merge pull request #3501 from Anewbe/runtime_fix

Fixes a runtime
This commit is contained in:
Neerti
2017-06-04 16:21:20 -04:00
committed by GitHub
@@ -305,7 +305,7 @@
//repurposed proc. Now it combines get_id_name() and get_face_name() to determine a mob's name variable. Made into a seperate proc as it'll be useful elsewhere
/mob/living/carbon/human/proc/get_visible_name()
if( mind.changeling && mind.changeling.cloaked)
if( mind && mind.changeling && mind.changeling.cloaked)
return "Unknown"
if( wear_mask && (wear_mask.flags_inv&HIDEFACE) ) //Wearing a mask which hides our face, use id-name if possible
return get_id_name("Unknown")