You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in InventoryUIController.OnPointerUp calls to closestSlot.HoldItem first then call m_OriginalSlot.DropItem. This would remove the item if closestSlot happens to be same as m_OriginalSlot.
//Set the new inventory slot with the data
closestSlot.HoldItem(GameController.GetItemByGuid(m_OriginalSlot.ItemGuid));
//Clear the original slot
m_OriginalSlot.DropItem();