Improves the RCD (#1609)
* Improves the RCD * oops * Unnecessary * Merge 2 checks * RCD whitelist and reorganization * Makes the RCD great again * Ignored components * loicense * Fix missing using
This commit is contained in:
@@ -83,13 +83,13 @@ namespace Content.Shared.Maps
|
||||
foreach (var body in query)
|
||||
{
|
||||
if (body.CanCollide && body.Hard && (body.CollisionLayer & (int) CollisionGroup.Impassable) != 0)
|
||||
return false;
|
||||
return true;
|
||||
|
||||
if (filterMobs && (body.CollisionLayer & (int) CollisionGroup.MobMask) != 0)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user