Skip to content

Commit

Permalink
Fix single-user BUIs erroneously closing (#28375)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored and VMSolidus committed Nov 8, 2024
1 parent ff43313 commit e28fa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Interaction/SharedInteractionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private void OnBoundInterfaceInteractAttempt(BoundUserInterfaceMessageAttempt ev
if (uiComp == null)
return;

if (uiComp.SingleUser && uiComp.CurrentSingleUser != ev.Actor)
if (uiComp.SingleUser && uiComp.CurrentSingleUser != null && uiComp.CurrentSingleUser != ev.Actor)
{
ev.Cancel();
return;
Expand Down

0 comments on commit e28fa15

Please sign in to comment.