Files
wwdpublic/Content.Shared/Fluids/Components/DrainComponent.cs
VMSolidus 1286253729 More Drain System Perf Tweaks (#2471)
# Description

Actually the bulk of this system's cost was in having these expensive
entity querries running on every frame, so instead of interrupting the
drain logic on a per drain basis, we interrupt the entire system of
querries itself globally, and cut off the main expense of the system at
its root source.

# Changelog

🆑
- tweak: Made some significant performance improvements to Drains.
2025-07-20 13:24:09 +10:00

2.9 KiB