Skip to content

Commit

Permalink
Fix borg's popup spam (space-wizards#29861)
Browse files Browse the repository at this point in the history
Fix borg popup spam

Co-authored-by: Winkarst-cpu <[email protected]>
  • Loading branch information
Winkarst-cpu and Winkarst authored Jul 9, 2024
1 parent 7a66da3 commit c57009b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Lock/LockSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ private void OnUIOpenAttempt(EntityUid uid, ActivatableUIRequiresLockComponent c
{
args.Cancel();
if (lockComp.Locked)
_sharedPopupSystem.PopupEntity(Loc.GetString("entity-storage-component-locked-message"), uid, args.User);
_sharedPopupSystem.PopupClient(Loc.GetString("entity-storage-component-locked-message"), uid, args.User);
}
}

Expand Down

0 comments on commit c57009b

Please sign in to comment.