Fix powered door prying popup (#20669)

This commit is contained in:
chromiumboy 2023-10-02 01:27:29 -05:00 committed by Debug
parent 2b9caf090e
commit c54022e4d3
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ public sealed class AirlockSystem : SharedAirlockSystem
{
if (this.IsPowered(uid, EntityManager) && !args.PryPowered)
{
Popup.PopupClient(Loc.GetString("airlock-component-cannot-pry-is-powered-message"), uid, args.User);
Popup.PopupEntity(Loc.GetString("airlock-component-cannot-pry-is-powered-message"), uid, args.User);
args.Cancelled = true;
}
}

View File

@ -25,7 +25,7 @@ public abstract class SharedDoorBoltSystem : EntitySystem
{
if (component.BoltsDown && !args.Force)
{
Popup.PopupClient(Loc.GetString("airlock-component-cannot-pry-is-bolted-message"), uid, args.User);
Popup.PopupEntity(Loc.GetString("airlock-component-cannot-pry-is-bolted-message"), uid, args.User);
args.Cancelled = true;
}
}