mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Tweaks
This commit is contained in:
@@ -230,9 +230,12 @@
|
||||
return 0
|
||||
. = ..()
|
||||
|
||||
// Returns the metrics for the subsystem.
|
||||
// This can be overriden on subtypes for variables that could affect tick usage
|
||||
// Example: ATs on SSair
|
||||
/**
|
||||
* Returns the metrics for the subsystem.
|
||||
*
|
||||
* This can be overriden on subtypes for variables that could affect tick usage
|
||||
* Example: ATs on SSair
|
||||
*/
|
||||
/datum/controller/subsystem/proc/get_metrics()
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
var/list/out = list()
|
||||
|
||||
@@ -39,6 +39,9 @@ SUBSYSTEM_DEF(metrics)
|
||||
return json_encode(out)
|
||||
|
||||
/*
|
||||
|
||||
// Uncomment this if you add new metrics to verify how the JSON formats
|
||||
|
||||
/client/verb/debugmetricts()
|
||||
usr << browse(SSmetrics.get_metrics_json(), "window=aadebug")
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user