(7840e7e91) Fixed characters selecting entities when dragging and dropping items into them when the Select input is bind to Mouse1.

This commit is contained in:
Joonas Rikkonen
2019-04-05 16:13:27 +03:00
parent 57e5a969ba
commit 29e979d60a
4 changed files with 14 additions and 11 deletions
@@ -1782,6 +1782,9 @@ namespace Barotrauma
}
else if (focusedItem != null)
{
#if CLIENT
if (CharacterInventory.DraggingItemToWorld) { return; }
#endif
bool canInteract = focusedItem.TryInteract(this);
#if CLIENT
if (Controlled == this)