hardsuit clothing should be large and not fit in pockets (#5368)
Co-authored-by: xRiriq <xRiriq.git@gmail.com>
This commit is contained in:
@@ -231,9 +231,10 @@ namespace Content.Server.Inventory.Components
|
||||
reason = controllerReason ?? reason;
|
||||
}
|
||||
|
||||
if (!pass && reason == null)
|
||||
if (!pass)
|
||||
{
|
||||
reason = Loc.GetString("inventory-component-can-equip-cannot");
|
||||
reason = reason ?? Loc.GetString("inventory-component-can-equip-cannot");
|
||||
return false;
|
||||
}
|
||||
|
||||
var canEquip = pass && _slotContainers[slot].CanInsert(item.Owner);
|
||||
|
||||
Reference in New Issue
Block a user