mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] fix bodyscanner (#9668)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e49000ca80
commit
9d288cdb28
@@ -189,7 +189,7 @@
|
||||
occupantData["health"] = H.health
|
||||
occupantData["maxHealth"] = H.getMaxHealth()
|
||||
|
||||
occupantData["hasVirus"] = H.viruses.len
|
||||
occupantData["hasVirus"] = LAZYLEN(H.viruses)
|
||||
|
||||
occupantData["bruteLoss"] = H.getBruteLoss()
|
||||
occupantData["oxyLoss"] = H.getOxyLoss()
|
||||
@@ -379,7 +379,7 @@
|
||||
dat += (occupant.health > (occupant.getMaxHealth() / 2) ? span_blue(health_text) : span_red(health_text))
|
||||
dat += "<br>"
|
||||
|
||||
if(occupant.viruses.len)
|
||||
if(LAZYLEN(occupant.viruses))
|
||||
for(var/datum/disease/D in occupant.GetViruses())
|
||||
if(D.visibility_flags & HIDDEN_SCANNER)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user