Fixed bug regarding having multiple sellable equips in your inventory and being able to sell multiple extra copies of them. Also fixed inventory not updating upon selling an item.
if(erased!=1)ERR(std::format("Did not erase a single element, instead erased {} elements.",erased));
inv.erase(inv.begin()+count);//Clears it from the detected sorted inventory as well!
Menu::InventorySlotsUpdated(inventory);
returntrue;
}else{
itemRef.lock()->amt-=amt;//Don't touch the sorted inventory unless this is monster loot or stage loot because there's only "1" of this item in the entry list.