From 47e1e991b562926548e7e9abca4ca14fb2cfb15d Mon Sep 17 00:00:00 2001 From: Mervill Date: Thu, 29 Sep 2022 12:50:31 -0700 Subject: [PATCH] Change where the "missed" popup comes from when throwing things into the disposal unit. (#11609) --- .../Disposal/Unit/EntitySystems/DisposalUnitSystem.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Content.Server/Disposal/Unit/EntitySystems/DisposalUnitSystem.cs b/Content.Server/Disposal/Unit/EntitySystems/DisposalUnitSystem.cs index 5533c5db87..2657512d75 100644 --- a/Content.Server/Disposal/Unit/EntitySystems/DisposalUnitSystem.cs +++ b/Content.Server/Disposal/Unit/EntitySystems/DisposalUnitSystem.cs @@ -285,8 +285,7 @@ namespace Content.Server.Disposal.Unit.EntitySystems _robustRandom.NextDouble() > 0.75 || !component.Container.Insert(args.Thrown)) { - if (args.User.HasValue) - _popupSystem.PopupEntity(Loc.GetString("disposal-unit-thrown-missed"), args.Thrown, Filter.Pvs(args.User.Value)); + _popupSystem.PopupEntity(Loc.GetString("disposal-unit-thrown-missed"), uid, Filter.Pvs(uid)); return; }