mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[MIRROR] Faltered & Dormant diseases update (#10985)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
c8f4469b94
commit
05b57277bf
@@ -102,7 +102,7 @@
|
||||
return FALSE
|
||||
if(H.GetViruses())
|
||||
for(var/datum/disease/D in H.GetSpreadableViruses())
|
||||
if(D.danger == DISEASE_POSITIVE || D.danger == DISEASE_BENEFICIAL)
|
||||
if(D.danger == DISEASE_POSITIVE || D.danger == DISEASE_BENEFICIAL || D.disease_flags & DORMANT || D.spread_flags & DISEASE_SPREAD_FALTERED)
|
||||
continue
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user