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. (cherry picked from commit 6eb681958be3bec1bf7798866237c0f2f79d98d2)
This commit is contained in:
parent
851f445098
commit
0da4cd9dd3
|
|
@ -107,7 +107,7 @@ public sealed class PryingSystem : EntitySystem
|
|||
{
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue