ID:178946
 
world
New()
for(var/area/battle/B in world)
for(var/mob/enemies/M in world)
if(M.area == B.area)
if(M.difficulty <= B.maxdifficulty)
B.enemies += M
return 1
else
return 0
else
return 0
..()
It seems that I can do this is some of my games and not others so I was wondering what the problem is
To start with, returning 0 in the world.New() proc is probably a bad idea :o)