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:
@@ -657,7 +657,7 @@ namespace Barotrauma
|
||||
if (item == null) continue;
|
||||
|
||||
item.TryInteract(this, true, true, true);
|
||||
inventory.TryPutItem(item, i, false, null, false);
|
||||
inventory.TryPutItem(item, i, false, false, null, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user