fixes zombie infection, and npc zombie infection (#30689)

This commit is contained in:
Qwertytoforty
2025-10-21 18:51:56 +00:00
committed by GitHub
parent 203f82dc3c
commit c424e80987
3 changed files with 3 additions and 2 deletions
@@ -1174,7 +1174,7 @@ It'll return null if the organ doesn't correspond, so include null checks when u
if(!HAS_TRAIT(user, TRAIT_NON_INFECTIOUS_ZOMBIE))
if(!target.HasDisease(/datum/disease/zombie))
var/datum/disease/zombie/zomb = new /datum/disease/zombie
target.ContractDisease(zomb)
target.ContractDisease(zomb, SPREAD_BLOOD)
for(var/datum/disease/zombie/zomb in target.viruses)
zomb.stage = max(5, zomb.stage)