From 700437571d87d9f147bed04cc0e8cd23cd2f8722 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sat, 11 Jul 2026 10:33:16 -0400 Subject: [PATCH] Air Stat Panel Tweaks (#22817) This PR tweaks the Air stat panel to give more actually useful information about when and why its lagging. Old: image New: image --- code/controllers/subsystems/air.dm | 10 ++++++++-- html/changelogs/hellfirejag-atmos-debug-info.yml | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/hellfirejag-atmos-debug-info.yml diff --git a/code/controllers/subsystems/air.dm b/code/controllers/subsystems/air.dm index c2c3f0ddd75..8e02a940141 100644 --- a/code/controllers/subsystems/air.dm +++ b/code/controllers/subsystems/air.dm @@ -124,8 +124,14 @@ SUBSYSTEM_DEF(air) can_fire = TRUE /datum/controller/subsystem/air/stat_entry(msg) - msg = "TtU:[tiles_to_update.len] ZtU:[zones_to_update.len] AFZ:[active_fire_zones.len] AH:[active_hotspots.len] AE:[active_edges.len]" - return msg + msg = {"\n\ + Update Queues: \ + Tiles [tiles_to_update.len] \ + Zones [zones_to_update.len] \ + Active Fire Zones [active_fire_zones.len] \ + Active Hotspots [active_hotspots.len] \ + Active Edges [active_edges.len]"} + return ..() /datum/controller/subsystem/air/Initialize(timeofday, simulate = TRUE) diff --git a/html/changelogs/hellfirejag-atmos-debug-info.yml b/html/changelogs/hellfirejag-atmos-debug-info.yml new file mode 100644 index 00000000000..4a22d9f5c7a --- /dev/null +++ b/html/changelogs/hellfirejag-atmos-debug-info.yml @@ -0,0 +1,4 @@ +author: Hellfirejag +delete-after: True +changes: + - rscadd: "Tweaked the Air stat panel to give significantly more useful information for debugging when and why air is causing lag."