obj/Genjutsu/Henge_no_Jutsu
verb
v(mob/characters/M in oview(15))
set name = "Henge no Jutsu"
set category = "Genjutsu skills"
if(usr.Chakra>=5)
var/ticon=usr.icon
var/toverlays=usr.overlays
usr.icon=M.icon
usr.overlays-=usr.overlays
usr.overlays+=M.overlays
usr.Chakra -= 2
sleep(60)
usr.icon=ticon
usr.overlays-=M.overlays
usr.overlays+=toverlays
else
alert("you dont have enough chakra to do this")
Problem description:overlays won't come back. My icon changes back but the overlays don't and it still says they're equipped.