ID:145304
 
Code:
mob
proc
monsterhealthbars()
for(var/mob/monster/M in world)
for(var/obj/monsterhealthbar/H in M.overlays) //looks for monsterhealthbar in the monsters overlay ** I suspect overlays is somehow the problem.
world << "Please work!"


Problem description:

Well Im not sure what is wrong here.. It doesnt get past the first for loop.. I think it has to do with my M.overlays but im not sure whats wrong? Any help would be great!
Can someone at least reply telling me if theres not enough information to tell or something?
Well, for one: Do the monster have the overlay in the first place?