mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
@@ -235,22 +235,19 @@ var/datum/controller/subsystem/garbage_collector/SSgarbage
|
||||
// This should be overridden to remove all references pointing to the object being destroyed.
|
||||
// Return the appropriate QDEL_HINT; in most cases this is QDEL_HINT_QUEUE.
|
||||
/datum/proc/Destroy(force=FALSE)
|
||||
if (destroy_listeners)
|
||||
RaiseOnDestroy()
|
||||
|
||||
SSnanoui.close_uis(src)
|
||||
|
||||
weakref = null
|
||||
destroyed_event.raise_event(src)
|
||||
SSnanoui.close_uis(src)
|
||||
tag = null
|
||||
|
||||
var/list/timers = active_timers
|
||||
active_timers = null
|
||||
if (timers)
|
||||
for(var/thing in timers)
|
||||
for (var/thing in timers)
|
||||
var/datum/timedevent/timer = thing
|
||||
if (timer.spent)
|
||||
continue
|
||||
qdel(timer)
|
||||
|
||||
return QDEL_HINT_QUEUE
|
||||
|
||||
/datum/var/gcDestroyed //Time when this object was destroyed.
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
/var/list/controller_debug_list = list(
|
||||
"Configuration",
|
||||
"Cameras",
|
||||
"Gas Data"
|
||||
"Gas Data",
|
||||
"Observation"
|
||||
)
|
||||
|
||||
/client/proc/debug_controller(controller in controller_debug_list)
|
||||
@@ -30,4 +31,7 @@
|
||||
if("Gas Data")
|
||||
debug_variables(gas_data)
|
||||
feedback_add_details("admin_verb","DGasdata")
|
||||
if("Observation")
|
||||
debug_variables(all_observable_events)
|
||||
feedback_add_details("admin_verb", "DObservation")
|
||||
message_admins("Admin [key_name_admin(usr)] is debugging the [controller] controller.")
|
||||
|
||||
Reference in New Issue
Block a user