mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Fix health analyzer showing missing heart only when you don't need one. (#87109)
## About The Pull Request One of the checks were reversed. Now it works properly
This commit is contained in:
@@ -280,7 +280,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