diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h index 8dd39a781..c91fb01f7 100644 --- a/src/net/tmwa/inventoryhandler.h +++ b/src/net/tmwa/inventoryhandler.h @@ -94,6 +94,9 @@ class EquipBackend : public Equipment::Backend item = PlayerInfo::getInventory()->getItem(inventoryIndex); if (item) item->setEquipped(true); + + if (inventoryWindow) + inventoryWindow->updateButtons(); } private: |