Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarInventory.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-28 04:46:07 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-28 04:46:07 +1100
commit0f9a200e6b64ad49a80c860eee5624b48acea6f1 (patch)
treec08998cb464ed9320c469034269b497686a300d3 /source/frontend/StarInventory.cpp
parentd76d217901d1afaa6a2b8703d7187d83ff41fe5f (diff)
fix: crafting interfaces not working with new middle-click opening
Diffstat (limited to 'source/frontend/StarInventory.cpp')
-rw-r--r--source/frontend/StarInventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarInventory.cpp b/source/frontend/StarInventory.cpp
index 650d2e3..71d2081 100644
--- a/source/frontend/StarInventory.cpp
+++ b/source/frontend/StarInventory.cpp
@@ -110,7 +110,7 @@ InventoryPane::InventoryPane(MainInterface* parent, PlayerPtr player, ContainerI
auto actionData = sourceItem->instanceValue("interactData", Json());
if (actionData.isType(Json::Type::Object))
actionData = actionData.set("openWithInventory", false);
- InteractAction action(actionType, m_player->entityId(), actionData);
+ InteractAction action(actionType, NullEntityId, actionData);
m_player->interact(action);
}
}