Files
Aurora.3/code/modules/weather/weather_mob_tracking.dm
T
WildkinsandGitHub afd8d9d8e0 Lag War 2: Revengeance (#21950)
<img width="750" height="449" alt="image"
src="https://github.com/user-attachments/assets/29c06609-eb62-42be-9b9c-334f9fe88636"
/>

Ports: tgstation/tgstation#75769, tgstation/tgstation#72572,
tgstation/tgstation#93054

Fixes the holodeck causing 800 trillion hard dels that brings the server
to its knees. Stops turrets, weather system, and overmap contacts from
generating 500+ timers every tick by just using vars instead.

---------

Signed-off-by: Wildkins <john.wildkins@gmail.com>
2026-03-09 21:47:50 +00:00

10 lines
470 B
Plaintext

GLOBAL_LIST_EMPTY(current_mob_ambience)
/obj/abstract/weather_system
// Weakref lists used to track mobs within our weather
// system; alternative to keeping big lists of actual mobs or
// having mobs constantly poked by weather systems.
var/tmp/list/mob_shown_weather = list() // Has this mob been sent the summary message about the current weather?
var/tmp/list/mob_shown_wind = list() // Has this mob been sent the summary message about the current wind?