server
server copied to clipboard
Send player update when player disconnects
Right now there is no way to tell when a user disconnects. The client relies on the IRC server to get this information which is not great.
Probably the simplest way to do this would be to add some sort of state field to the existing player_info message that can signal when the player is logging out, and then simply mark player objects as dirty on logout.