ID:139029
 
Code:
mob/Loginscreen
verb
Minimize()
set category = null
var/mob/Loginscreen/M=usr
winset(M, "default", "is-minimized=true")


Problem description:
Well, first of all, my world/mob is set to /mob/Loginscreen. But the problem is, it doesn't actually perform the winset proc. How can I solve this? I know for sure that the button options in the skin file are set right.

Are the labels the same on the winset procedure as they are for the Interface?
Fixed it, made it a client/verb
In response to Raimo (#2)
Just wanted to add, the skins are run by the client, so using src.client or usr.client would work.

Also, no need to set the type as it would be fine using the default type in winset.