]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fixing performance issue with Proximity Detector (#23557)
authorJezithyr <jezithyr@gmail.com>
Sun, 7 Jan 2024 01:04:33 +0000 (17:04 -0800)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 01:04:33 +0000 (17:04 -0800)
commit3261962f8c37a90c4fe0591b422d3b0bcf7a7523
tree6c11db11732594ae6817f3f0fb03597bb5ba24a1
parent4ddb3db1ecd300742992d2ebe445e085287a9ecf
Fixing performance issue with Proximity Detector (#23557)

* fixing access levels and removed strings from data defs

* Fixing proximity detector performance

- Re-added component filtering for the close entity search.
- Changed criteria functionality to only allow for searching for entities with all specified comps (matching any would be too unperformant)
Content.Shared/Beeper/Components/BeeperComponent.cs
Content.Shared/ProximityDetection/Components/ProximityDetectorComponent.cs
Content.Shared/ProximityDetection/Systems/ProximityDetectionSystem.cs