mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 12:17:40 +01:00
[MIRROR] Prevents virus stacking (#12841)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
c65d9f1078
commit
ea417f2bcc
@@ -88,6 +88,8 @@
|
||||
var/datum/disease/D = ID
|
||||
if((D.spread_flags & DISEASE_SPREAD_SPECIAL) || (D.spread_flags & DISEASE_SPREAD_NON_CONTAGIOUS))
|
||||
continue
|
||||
if(M.HasDisease(D))
|
||||
continue
|
||||
D.try_infect(M)
|
||||
|
||||
/datum/reagent/blood/affect_touch(mob/living/carbon/M, alien, removed)
|
||||
|
||||
Reference in New Issue
Block a user