mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Changes virus removal to use lazy instead (#10898)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
614665210c
commit
72e81d6e5c
@@ -6,11 +6,11 @@
|
||||
return FALSE
|
||||
|
||||
/mob/proc/RemoveDisease(datum/disease/D)
|
||||
viruses -= D
|
||||
LAZYREMOVE(viruses, D)
|
||||
return TRUE
|
||||
|
||||
/mob/proc/HasResistance(resistance)
|
||||
if(resistances.Find(resistance))
|
||||
if(LAZYFIND(resistances, resistance))
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user