Stop using some obsolete stuff (#4657)

This commit is contained in:
Visne
2021-09-20 08:40:22 +02:00
committed by GitHub
parent 3895266b1f
commit fcc1217e5d
6 changed files with 13 additions and 13 deletions

View File

@@ -84,7 +84,7 @@ namespace Content.Server.Explosion
// and splitted into two lists based on if they are Impassable or not
foreach (var entity in entitiesInRange)
{
if (entity.Deleted || !entity.Transform.IsMapTransform)
if (entity.Deleted || entity.IsInContainer())
{
continue;
}