mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Fix health analyzer not showing missing heart (#2473)
## About The Pull Request Early pull of https://github.com/tgstation/tgstation/pull/87109 Closes https://github.com/Bubberstation/Bubberstation/issues/2472 ## Why It's Good For The Game 🆑 LT3 fix: Medical should again be able to tell if your heart is missing, hopefully /🆑
This commit is contained in:
@@ -283,7 +283,7 @@
|
||||
var/list/missing_organs = list()
|
||||
if(!humantarget.get_organ_slot(ORGAN_SLOT_BRAIN))
|
||||
missing_organs[ORGAN_SLOT_BRAIN] = "Brain"
|
||||
if(!humantarget.needs_heart() && !humantarget.get_organ_slot(ORGAN_SLOT_HEART))
|
||||
if(humantarget.needs_heart() && !humantarget.get_organ_slot(ORGAN_SLOT_HEART))
|
||||
missing_organs[ORGAN_SLOT_HEART] = "Heart"
|
||||
if(!HAS_TRAIT_FROM(humantarget, TRAIT_NOBREATH, SPECIES_TRAIT) && !isnull(humantarget.dna.species.mutantlungs) && !humantarget.get_organ_slot(ORGAN_SLOT_LUNGS))
|
||||
missing_organs[ORGAN_SLOT_LUNGS] = "Lungs"
|
||||
|
||||
Reference in New Issue
Block a user