mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
fixes null plane debuggers for admins (#80939)
## About The Pull Request Yeah, why would we delete the plane debugger while the admin is active? ## Why It's Good For The Game Broken debugging tool. ## Changelog N/A
This commit is contained in:
@@ -73,7 +73,6 @@ GLOBAL_PROTECT(href_token)
|
||||
activate()
|
||||
else
|
||||
deactivate()
|
||||
plane_debug = new(src)
|
||||
|
||||
/datum/admins/Destroy()
|
||||
if(IsAdminAdvancedProcCall())
|
||||
@@ -88,7 +87,7 @@ GLOBAL_PROTECT(href_token)
|
||||
GLOB.deadmins -= target
|
||||
GLOB.admin_datums[target] = src
|
||||
deadmined = FALSE
|
||||
QDEL_NULL(plane_debug)
|
||||
plane_debug = new(src)
|
||||
if (GLOB.directory[target])
|
||||
associate(GLOB.directory[target]) //find the client for a ckey if they are connected and associate them with us
|
||||
|
||||
@@ -99,6 +98,7 @@ GLOBAL_PROTECT(href_token)
|
||||
return
|
||||
GLOB.deadmins[target] = src
|
||||
GLOB.admin_datums -= target
|
||||
QDEL_NULL(plane_debug)
|
||||
deadmined = TRUE
|
||||
|
||||
var/client/client = owner || GLOB.directory[target]
|
||||
|
||||
Reference in New Issue
Block a user