mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 03:21:13 +01:00
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: <img width="456" height="39" alt="image" src="https://github.com/user-attachments/assets/125f89e9-e336-4df7-aad0-608a15655619" /> New: <img width="835" height="100" alt="image" src="https://github.com/user-attachments/assets/170901bd-255a-407f-98e5-38da1124ea74" />
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user