Fix recycler throwing (#2187)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -181,7 +181,7 @@ namespace Content.Server.GameObjects.Components.Recycling
|
|||||||
{
|
{
|
||||||
var entity = _intersecting[i];
|
var entity = _intersecting[i];
|
||||||
|
|
||||||
if (!CanMove(entity) || !_entityManager.IsIntersecting(Owner, entity))
|
if (entity.Deleted || !CanMove(entity) || !_entityManager.IsIntersecting(Owner, entity))
|
||||||
{
|
{
|
||||||
_intersecting.RemoveAt(i);
|
_intersecting.RemoveAt(i);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user