Change where the "missed" popup comes from when throwing things into the disposal unit. (#11609)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user