obj/firedragon
fire
icon='on fire.dmi'
bounds="30,4 to 61,10"
Crossed(A)
if(ismob(A))
var/mob/O=A
if(O!=src.Gowner)
while(O in obounds(src))
// O.GetBurned()
sleep(40)
New()
..()
var/despawner=rand(50,150)
spawn(despawner)
src.Gowner=null
src.loc=null
im creating it like this basically:
for(var/i=0;i<5;i++)
var/obj/firedragonslayer/fireturf/S=new()
S.Gowner=usr
S.step_x=rand(-32,32)
S.step_y=rand(-32,32)
S.loc=usr.loc
Problem description: Unsure why this causes my game to crash, i'm aware there are other methods of doing what i'm trying to do just looking to see why this would cause a crash