mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
No longer shows flavour text when examining someone who's mutilated (#14722)
* Changed flavour text visibility * Checks if head is actually there before causing runtime * Checks if head is there before checking head state * Runtime fix 2 electric boogaloo * first review processed * Only checks for disfigured head now
This commit is contained in:
@@ -388,9 +388,11 @@
|
||||
msg += "<span class = 'deptradio'>Physical status:</span> <a href='?src=[UID()];medical=1'>\[[medical]\]</a>\n"
|
||||
msg += "<span class = 'deptradio'>Medical records:</span> <a href='?src=[UID()];medrecord=`'>\[View\]</a> <a href='?src=[UID()];medrecordadd=`'>\[Add comment\]</a>\n"
|
||||
|
||||
|
||||
if(print_flavor_text() && !skipface)
|
||||
msg += "[print_flavor_text()]\n"
|
||||
if(get_organ("head"))
|
||||
var/obj/item/organ/external/head/H = get_organ("head")
|
||||
if(!H.disfigured)
|
||||
msg += "[print_flavor_text()]\n"
|
||||
|
||||
msg += "*---------*</span>"
|
||||
if(pose)
|
||||
|
||||
Reference in New Issue
Block a user