From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 29 May 2024 10:25:16 +0000 (+1000) Subject: Fix single-user BUIs erroneously closing (#28375) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=08952b467d9b2b2db85cb9ebb4e8b628c0145716;p=space-station-14.git Fix single-user BUIs erroneously closing (#28375) --- 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;