mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Runtime fix.
runtime error: Cannot execute null.apply effect(). proc name: on hit (/obj/item/projectile/energy/floramut/on_hit) source file: special.dm,85 Moved ninja gloves into the gloves sub-folder in clothing instead of space suits. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4545 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
on_hit(var/atom/target, var/blocked = 0)
|
||||
var/mob/living/M = target
|
||||
if(ishuman(target) && M.dna && M.dna.mutantrace == "plant") //Plantmen possibly get mutated and damaged by the rays.
|
||||
var/mob/living/L as mob
|
||||
var/mob/living/L = target
|
||||
if(prob(15))
|
||||
L.apply_effect((rand(30,80)),IRRADIATE)
|
||||
L.Weaken(5)
|
||||
|
||||
Reference in New Issue
Block a user