Login.dm:15:error:usr.o.icon:undefined var
Why?
mob
Login()
o = new/obj/Hair
overlays += o
var
o
obj
Hair
var/setting = "0,0,0"
icon='Hair.dmi'
layer=MOB_LAYER+1
pixel_y=40
turf
Buttons
icon='Login.dmi'
Left_22
icon_state = "Left-2,2"
Click()
if(usr.o)
world<<"Checking Top_left"
usr.o.icon += rgb(0,20,20)
// usr.o.setting = "20,0,0"
world<<"Changing Hair Color!"
if(usr.Hairoverlay == 0)
usr.Hairoverlay = 1