mirror of
https://github.com/minetest/minetest.git
synced 2024-07-07 08:25:28 +02:00
Fix experiments.
This commit is contained in:
parent
ba651c3a12
commit
08a45bde13
@ -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,7 +460,6 @@ 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();
|
||||
|
||||
infostream<<"IMoveAction::apply(): move was completely disallowed:"
|
||||
|
Loading…
Reference in New Issue
Block a user