Fix DNA injector radiation damage

This commit is contained in:
Markolie
2015-08-29 01:28:47 +02:00
parent ba163ea375
commit de03689105
2 changed files with 11 additions and 11 deletions
@@ -62,7 +62,7 @@
/obj/item/weapon/dnainjector/proc/inject(mob/living/M as mob, mob/user as mob)
if(istype(M,/mob/living))
M.apply_effect(rand(10,25),IRRADIATE,0)
M.apply_effect(rand(10,25),IRRADIATE,-1)
if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed
// UI in syringe.
@@ -97,6 +97,7 @@
var/mob/living/carbon/human/H = M
if(H.species.flags & NO_DNA_RAD)
return
if (!usr.IsAdvancedToolUser())
return