runtime error: Cannot read null.player
proc name: Deathcheck (/mob/proc/Deathcheck)
usr: (/mob/PC)
src: (/mob/PC)
call stack:
(/mob/PC): Deathcheck(null)
Frag Granade (/obj/granade/Frag_Granade): Throw()
The DeathCheck works for all the other weapons such as guns and shotguns. When I compared the code the only thing that I would think causes the error would be this:
for(var/mob/M in view(1))
M.health -= 40
M.Deathcheck()
Thank you for your time.
I suspect however that you should change view(1) to view(1,src), but without seeing more of that proc I don't know for sure.
Lummox JR