Fixes the verb manager based stat entries to show (#8111)

This commit is contained in:
Selis
2024-03-30 20:48:20 +01:00
committed by GitHub
parent 6789213464
commit ab3012fd29

View File

@@ -161,5 +161,7 @@ SUBSYSTEM_DEF(verb_manager)
verbs_executed_per_second = MC_AVG_SECONDS(verbs_executed_per_second, executed_verbs, wait SECONDS)
//note that wait SECONDS is incorrect if this is called outside of fire() but because byond is garbage i need to add a timer to rustg to find a valid solution
/datum/controller/subsystem/verb_manager/stat_entry()
..("V/S: [round(verbs_executed_per_second, 0.01)]")
/datum/controller/subsystem/verb_manager/stat_entry(msg)
. = ..()
if (use_default_stats)
. += "V/S: [round(verbs_executed_per_second, 0.01)]"