About The Pull Request
AI swarmers are supposed to go after nearly everything in sight, including turfs, but this behavior is broken; I wouldn't be all surprised if other mobs targeting behavior is also broken.
In an attempt to make bees perform better, ListTargets behavior was changed here: #31250
While it does, supposedly, perform better, it also breaks swarmers---andddd I suspect other mobs, as well, as this effectively means anything that's not a mob or an object (primarily turfs).
Either case, this reverts ListTargets back to what it originally was, restoring intended behavior.
That said, since bees are so problematic, they use the current ListTargets behavior to only search for objects and mobs.
fixes: #46938
Changelog
cl Fox McCloud
fix: Fixes AI swarmers just sitting in their base doing nothing
/cl