Fix experiments.

This commit is contained in:
SFENCE 2024-06-25 19:21:22 +02:00
parent ba651c3a12
commit 08a45bde13
2 changed files with 2 additions and 3 deletions

@ -3800,7 +3800,7 @@ void GUIFormSpecMenu::showTooltip(const std::wstring &text,
void GUIFormSpecMenu::updateSelectedItem()
{
// Don't update when dragging an item
if (m_selected_item && (m_selected_dragging || m_left_dragging))
if (m_selected_item && (m_left_dragging && (m_left_drag_stacks.size() > 1)))
return;
verifySelectedItem();

@ -460,8 +460,7 @@ void IMoveAction::apply(InventoryManager *mgr, ServerActiveObject *player, IGame
if (from_inv.type == InventoryLocation::PLAYER)
list_from->setModified();
if (to_inv.type == InventoryLocation::PLAYER)
list_to->setModified();
list_to->setModified();
infostream<<"IMoveAction::apply(): move was completely disallowed:"
<<" move_count="<<old_move_count