Makes internal radiation sources also use apply_effect(), by utilizing the ability to ignore radiation protection.

This commit is contained in:
PsiOmega
2015-09-26 09:19:58 +02:00
parent 11a03abbf7
commit a3b9ab1236
7 changed files with 15 additions and 14 deletions
@@ -65,7 +65,8 @@
/obj/item/weapon/dnainjector/proc/inject(mob/M as mob, mob/user as mob)
if(istype(M,/mob/living))
M.radiation += rand(5,20)
var/mob/living/L = M
L.apply_effect(rand(5,20), IRRADIATE, check_protection = 0)
if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed
if (buf.types & DNA2_BUF_UI)