From c52cc0f3a81581a1487dfef302e1d87d404926df Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Fri, 30 May 2025 15:40:12 -0400 Subject: [PATCH] fixes non infectious zombies. Again. Hopefully for the last bloody time. (#29496) --- code/datums/diseases/_disease.dm | 1 + code/modules/awaymissions/mob_spawn.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/datums/diseases/_disease.dm b/code/datums/diseases/_disease.dm index 72c9b60b298..a12fd49f217 100644 --- a/code/datums/diseases/_disease.dm +++ b/code/datums/diseases/_disease.dm @@ -179,6 +179,7 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease)) /datum/disease/proc/Copy() var/datum/disease/D = new type() D.spread_flags = spread_flags //In case an admin (or other factor) has made a virus non spreading, you should *not* get a new spreading virus from blood + D.visibility_flags = visibility_flags // See above. D.strain_data = strain_data.Copy() return D diff --git a/code/modules/awaymissions/mob_spawn.dm b/code/modules/awaymissions/mob_spawn.dm index 5f88042c86d..d1edc2765b3 100644 --- a/code/modules/awaymissions/mob_spawn.dm +++ b/code/modules/awaymissions/mob_spawn.dm @@ -765,6 +765,7 @@ . = ..() for(var/datum/disease/zombie/zomb in H.viruses) zomb.spread_flags = SPECIAL + zomb.visibility_flags = HIDDEN_PANDEMIC // This is how critical diseases block being interacted by the pandemic or copied. I hate it here. /// these mob spawn subtypes trigger immediately (New or Initialize) and are not player controlled... since they're dead, you know?