Change where the "missed" popup comes from when throwing things into the disposal unit. (#11609)

This commit is contained in:
Mervill
2022-09-29 12:50:31 -07:00
committed by GitHub
parent 4c7bd7e816
commit 47e1e991b5

View File

@@ -285,8 +285,7 @@ namespace Content.Server.Disposal.Unit.EntitySystems
_robustRandom.NextDouble() > 0.75 || _robustRandom.NextDouble() > 0.75 ||
!component.Container.Insert(args.Thrown)) !component.Container.Insert(args.Thrown))
{ {
if (args.User.HasValue) _popupSystem.PopupEntity(Loc.GetString("disposal-unit-thrown-missed"), uid, Filter.Pvs(uid));
_popupSystem.PopupEntity(Loc.GetString("disposal-unit-thrown-missed"), args.Thrown, Filter.Pvs(args.User.Value));
return; return;
} }