Equipped items can be swapped by double-clicking, fixed inventories getting messed up when swapping multi-slot items fails (e.g. drag a jumpsuit on an equipped diving suit).
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ namespace Barotrauma
|
||||
character.Inventory.Items[i].Drop();
|
||||
}
|
||||
}
|
||||
if (character.Inventory.TryPutItem(component.Item, i, true, character))
|
||||
if (character.Inventory.TryPutItem(component.Item, i, true, false, character))
|
||||
{
|
||||
component.Item.Equip(character);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user