PopupSystem public methods rejig (#12830)

This commit is contained in:
Leon Friedrich
2022-12-19 10:41:47 +13:00
committed by GitHub
parent e459452333
commit 881a2b2ece
164 changed files with 721 additions and 631 deletions

View File

@@ -146,7 +146,7 @@ public sealed class ToggleableClothingSystem : EntitySystem
else if (_inventorySystem.TryGetSlotEntity(parent, component.Slot, out var existing))
{
_popupSystem.PopupEntity(Loc.GetString("toggleable-clothing-remove-first", ("entity", existing)),
args.Performer, Filter.Entities(args.Performer));
args.Performer, args.Performer);
}
else
_inventorySystem.TryEquip(parent, component.ClothingUid.Value, component.Slot);