Partial kudzu fix (#10854)

This commit is contained in:
Leon Friedrich
2022-08-26 01:34:05 +12:00
committed by GitHub
parent c65d1c51ce
commit 35475bac55
5 changed files with 84 additions and 36 deletions

View File

@@ -331,7 +331,7 @@ public sealed class DoorSystem : SharedDoorSystem
{
if (component.BumpOpen)
{
foreach (var other in PhysicsSystem.GetCollidingEntities(body))
foreach (var other in PhysicsSystem.GetContactingEntities(body, approximate: true))
{
if (Tags.HasTag(other.Owner, "DoorBumpOpener") &&
TryOpen(component.Owner, component, other.Owner, false, quiet: true)) break;