challenge()
beaten=0
for(var/mob/m in world)
world << "You are [src] and they are [m]"
if(!m==src)
if(m.points>=points&&!m.beaten&&!m.placed&&m.charpicked)
world << "You have been beaten"
beaten=1
m.challenge()
break
Problem description:
Everything works, except for if(!m==src). That check is there to make sure you don't get put up against yourself. The output message before that displays the 2 different names of the mobs, yet the check still fails. What am I doing wrong?