branchrust_reboot/main/dungeon_despawn_fixcancel
9 Commits over 0 Days - ∞cph!
ClearAllEntitiesInRadius uses Vis.Entities
AnyPlayersInside uses BaseNetworkable.HasCloseConnections
ClearAllEntitiesInRadius checks IsValid
ClearAllEntitiesInRadius doesn't set blockBagDrop on entities that are already destroyed
Q: Is there a reason this cannot use Vis.Entities?
Optimization: Vector3.Distance -> sqrMagnitude
Fixed edge case where ClearAllEntitiesInRadius would not return entity list to pool
▆▄█▋▊▊ ▇▍▆█▍█▌▉ ▆▄▉▉ ▅█▍▉▊▌█ ▊▌ ▍▊▊▍ ▅▊▉▅▊▅▇ ▋▉▅ ▉▆▊▍▋▍▊▍▄ ▌▉▅▋ ▍▋█▊▇ ▄▌▇ ▆▊▉▌▋▆▇ ▉▌▆▌▉▆█
▋▆▇▅▇▄ ▄█▌ ▇▋▄▋▍▅▆▇ ▊▄ ▆ ▉▌▅ ▋▅▊▆▅▌ ▅▌▇█ ▉▄▉▋▇▅▌▌▊▉ ▇ ▇▄▍▊▊▊▉▆▍▄▇ ▌▄▊▄▊▋▍ ▉▊▉█▊▆▌ ▉█▄ █▅█▌▆▋▇ ▄▋▉█▅▊▊
▉█▆▌▉ ▋▇█▅▅▇▇ ▊▌▍█▌▍▌ ▍▋ ▇▄ ▊▉▌▄█▆▇ ▉▋▄ ▇▍▆▋▆▅