From 149c494972b61925740ec43ccebd594e2344c847 Mon Sep 17 00:00:00 2001 From: chromiumboy <50505512+chromiumboy@users.noreply.github.com> Date: Mon, 2 Oct 2023 01:27:29 -0500 Subject: [PATCH] Fix powered door prying popup (#20669) --- Content.Server/Doors/Systems/AirlockSystem.cs | 2 +- Content.Shared/Doors/Systems/SharedDoorBoltSystem.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Doors/Systems/AirlockSystem.cs b/Content.Server/Doors/Systems/AirlockSystem.cs index 0ea2755ab6..67f732f28e 100644 --- a/Content.Server/Doors/Systems/AirlockSystem.cs +++ b/Content.Server/Doors/Systems/AirlockSystem.cs @@ -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; } } diff --git a/Content.Shared/Doors/Systems/SharedDoorBoltSystem.cs b/Content.Shared/Doors/Systems/SharedDoorBoltSystem.cs index 1deb6e3f7c..a950fe6930 100644 --- a/Content.Shared/Doors/Systems/SharedDoorBoltSystem.cs +++ b/Content.Shared/Doors/Systems/SharedDoorBoltSystem.cs @@ -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; } } -- 2.51.2