Fix single-user BUIs erroneously closing (#28375)

This commit is contained in:
metalgearsloth 2024-05-29 20:25:16 +10:00 committed by GitHub
parent ffce93c3e1
commit 08952b467d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;