mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Fixes dormant diseases showing up in Medical scanners (#11042)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8cb6798f76
commit
fcdb002e0f
@@ -23,6 +23,11 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/mob/proc/isInfective()
|
||||
if(isemptylist(GetSpreadableViruses()))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/mob/proc/CanContractDisease(datum/disease/D)
|
||||
if(stat == DEAD && !global_flag_check(D.virus_modifiers, SPREAD_DEAD))
|
||||
return FALSE
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
occupantData["health"] = H.health
|
||||
occupantData["maxHealth"] = H.getMaxHealth()
|
||||
|
||||
occupantData["hasVirus"] = H.IsInfected()
|
||||
occupantData["hasVirus"] = H.isInfective()
|
||||
|
||||
occupantData["bruteLoss"] = H.getBruteLoss()
|
||||
occupantData["oxyLoss"] = H.getOxyLoss()
|
||||
|
||||
Reference in New Issue
Block a user