mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Maybe fix winset crashing Logout? (#17662)
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
ready = 0
|
||||
|
||||
QDEL_NULL(lobby_window)
|
||||
|
||||
var/client/exiting_client = GLOB.directory[persistent_ckey]
|
||||
if(exiting_client)
|
||||
winset(exiting_client, "lobby_browser", "is-disabled=true;is-visible=false")
|
||||
disable_lobby_browser()
|
||||
|
||||
..()
|
||||
|
||||
@@ -16,3 +13,8 @@
|
||||
key = null//We null their key before deleting the mob, so they are properly kicked out.
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
/mob/new_player/proc/disable_lobby_browser()
|
||||
var/client/exiting_client = GLOB.directory[persistent_ckey]
|
||||
if(exiting_client)
|
||||
winset(exiting_client, "lobby_browser", "is-disabled=true;is-visible=false")
|
||||
|
||||
Reference in New Issue
Block a user