ID:271129
 
i have a weird problem:
my code:

var/list/DM = list("Key1","Key2")
obj
dojostar
icon = 'aa.dmi'
pixel_y = 32

mob/Login()
for(var/mob/M in DM)
src.overlays += new /obj/dojostar

The problem is that the object doesnt appear above the users head. But when i do this with -32 for GM's, then the GM icon appears.
GM code:

obj
GMstar
icon = 'GMstar.dmi'
pixel_y = -32

mob/Login()
if(src.GMlevel <=1)
src.overlays += /obj/GMstar


Sorry for posting it in wrong forums.