Make doorbumps quiet (#8812)

This commit is contained in:
metalgearsloth
2022-06-15 15:14:15 +10:00
committed by GitHub
parent 6cbf705290
commit c243edbf33
2 changed files with 3 additions and 3 deletions

View File

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