Fixed delivery popups (#35724)

* :)

* cool stuff
This commit is contained in:
ScarKy0
2025-03-08 22:08:41 +01:00
committed by GitHub
parent 6f39ee8688
commit e57325b797
3 changed files with 11 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ public sealed class FingerprintReaderSystem : EntitySystem
if (!target.Comp.IgnoreGloves && TryGetBlockingGloves(user, out var gloves))
{
if (target.Comp.FailGlovesPopup != null)
_popup.PopupPredicted(Loc.GetString(target.Comp.FailGlovesPopup, ("blocker", gloves)), target, user);
_popup.PopupClient(Loc.GetString(target.Comp.FailGlovesPopup, ("blocker", gloves)), target, user);
return false;
}
@@ -40,7 +40,7 @@ public sealed class FingerprintReaderSystem : EntitySystem
!target.Comp.AllowedFingerprints.Contains(fingerprint.Fingerprint))
{
if (target.Comp.FailPopup != null)
_popup.PopupPredicted(Loc.GetString(target.Comp.FailPopup), target, user);
_popup.PopupClient(Loc.GetString(target.Comp.FailPopup), target, user);
return false;
}