mob
var/tmp/list/tagged
proc
eyes()
set background=1
if(src.byakuganon||src.sharinganon)
for(var/mob/M in view(src))
if(!M in src.tagged)
var/I
I = image('byakuganvision.dmi',M)
src<<I
src.tagged+=M
world<<"[src] tagged [M]"//to see if code reaches this point
spawn(10)
src.eyes()
else
for(var/mob/M in src.tagged)
M.overlays-='byakuganvision.dmi'
src.tagged=null
Problem description:
hmm i cant seem to add the images to clients :( i can do this perfectly fine when refering to one mob however. So the problem seems to occur in the for loop?