Fix prying error when opening locked airlocks (#27386)
It would try to pry the door and fail to resolve a prying component on the entity trying to open the door.
This commit is contained in:
@@ -107,7 +107,7 @@ public sealed class PryingSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
BeforePryEvent canev;
|
BeforePryEvent canev;
|
||||||
|
|
||||||
if (comp != null || Resolve(user, ref comp))
|
if (comp != null || Resolve(user, ref comp, false))
|
||||||
{
|
{
|
||||||
canev = new BeforePryEvent(user, comp.PryPowered, comp.Force);
|
canev = new BeforePryEvent(user, comp.PryPowered, comp.Force);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user