mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
make exchange slot available as 'hud.exchange-slot'
This commit is contained in:
parent
1c777746a0
commit
371aaaa9f5
1 changed files with 1 additions and 0 deletions
|
|
@ -469,6 +469,7 @@ void Hud::showExchangeSlot() {
|
|||
gui,
|
||||
SlotLayout(-1, glm::vec2(), false, false, nullptr, nullptr, nullptr)
|
||||
);
|
||||
exchangeSlot->setId("hud.exchange-slot");
|
||||
exchangeSlot->bind(exchangeSlotInv->getId(), exchangeSlotInv->getSlot(0), &content);
|
||||
exchangeSlot->setColor(glm::vec4());
|
||||
exchangeSlot->setInteractive(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue