This commit is contained in:
AffectedArc07
2021-08-16 10:21:23 +01:00
parent 9e69cce5d4
commit 94315d4a6c
3 changed files with 11 additions and 4 deletions
+6 -3
View File
@@ -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()
+3
View File
@@ -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")
*/