ui callbacks update

This commit is contained in:
MihailRis
2024-02-12 19:59:58 +03:00
parent e9cbb04090
commit 2de5f5c646
7 changed files with 62 additions and 16 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ std::shared_ptr<InventoryView> HudRenderer::createContentAccess() {
}
SlotLayout slotLayout(-1, glm::vec2(), false, true,
[=](ItemStack& item) {
[=](uint, ItemStack& item) {
auto copy = ItemStack(item);
inventory->move(copy, indices);
},