DNA injectors cause cloneloss. (#4958)

This commit is contained in:
Belsima
2018-03-01 15:49:11 -05:00
committed by Atermonera
parent 524c9aa5db
commit 84d66c51df

View File

@@ -67,6 +67,7 @@
if(istype(M,/mob/living))
var/mob/living/L = M
L.apply_effect(rand(5,20), IRRADIATE, check_protection = 0)
L.apply_damage(max(2,L.getCloneLoss()), CLONE)
if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed
if (buf.types & DNA2_BUF_UI)