M.powerlevel -= round(ki_damage)
M << "\red [usr.name]'s Kienzan Disk slices into you"
M.SmallKiDeathCheck(src)
src.doing = 0
src.frozen = 0
if(M.race == "Saiyan")
if(prob(35))
if(M.tail_cut)
M << "\red [src.name]'s Kienzan Disk has cut your tail off!"
M.overlays -= M.tail
M.tail_cut = 0
if(M.monkey)
M.oozaru_break()
spawn(2000) M.apply_tail()
return
obj/CH_Distructo_Disk
icon = 'Distructo Disk2.dmi'
Problem description:every time on the game i goto use this tech it says runtime error: Cannot read null.race
proc name: Kienzan Disk (/mob/learn/Changling/verb/Changling_Distructo_Disk)
source file: Changling Distructo Disk.dm,109 and the Line that 109 is at is the if(M.race == "Saiyan")i tryed to fix it myself many time but when i do i get errors when i compile
Work around this by first checking if M exists, like so: