proc/GameOver()
for(var/obj/puck/O)
if(O.loc == locate(10,11,1))
del(O)
gameon=0
teamgoalsA=0
teamgoalsB=0
char1=null
char2=null
char3=null
char4=null
for(var/mob/M in world)
if(M.key == char1)
usr.client.mob = new/mob/char
del(usr)
else
if(M.key == char2)
usr.client.mob = new/mob/char
del(usr)
else
if(M.key == char3)
usr.client.mob = new/mob/char
del(usr)
else
if(M.key == char4)
usr.client.mob = new/mob/char
del(usr)
all it does is delete the player who scored the last goal, (I think because he is the one who is calling this proc). But anyways if you can help I would really appreciate it. I have tried about a million different things to try and fix this.