From 08952b467d9b2b2db85cb9ebb4e8b628c0145716 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 29 May 2024 20:25:16 +1000 Subject: [PATCH] Fix single-user BUIs erroneously closing (#28375) --- Content.Shared/Interaction/SharedInteractionSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Interaction/SharedInteractionSystem.cs b/Content.Shared/Interaction/SharedInteractionSystem.cs index 6f6777ee96..bcde27ceba 100644 --- a/Content.Shared/Interaction/SharedInteractionSystem.cs +++ b/Content.Shared/Interaction/SharedInteractionSystem.cs @@ -159,7 +159,7 @@ namespace Content.Shared.Interaction if (uiComp == null) return; - if (uiComp.SingleUser && uiComp.CurrentSingleUser != ev.Actor) + if (uiComp.SingleUser && uiComp.CurrentSingleUser != null && uiComp.CurrentSingleUser != ev.Actor) { ev.Cancel(); return; -- 2.52.0