ID:1170950
 
Resolved
BYOND Version:498
Operating System:Windows Vista Home Basic
Web Browser:Chrome 24.0.1312.57
Applies to:Dream Seeker
Status: Resolved

This issue has been resolved.
Descriptive Problem Summary:
I'm using a HUD button as an Exit button for my game, and when I delete the user, the window hides and the connection dies, but the process stays running and the Options & Messages window pops up.

Numbered Steps to Reproduce Problem:
Press the exit button.

Code Snippet (if applicable) to Reproduce Problem:
            Click()
winset(usr,"Main","is-visible=false")
del(usr.client)
..()


Expected Results:
Kill the process

Actual Results:
Keeps running

Workarounds:
You can use an interface button to run the .quit command, but in my case I want to use a HUD button for more flexibility with the art.
Try using Logout() instead of del.

so you'd go usr.Logout() or variations of that i.e. mob.Logout()

I just hit up the DM reference and am almost guessing.

What can you expect from a man in class?

Balt
you can invoke the .quit command with winset, any command really.

obj/quit/Click()
winset(usr, null, "command=.quit")
Put the .quit command on the button itself, so it works if you lose connection.
In response to Murrawhip
This ain't no skin.
In response to ExPixel
My bad.
LordAndrew resolved issue