summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp
index e0cd402a7..18e933c56 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -261,6 +261,7 @@ void BuyingStoreHandler::create(const std::string &name,
void BuyingStoreHandler::close() const
{
createOutPacket(CMSG_BUYINGSTORE_CLOSE);
+ PlayerInfo::enableVending(false);
}
void BuyingStoreHandler::open(const Being *const being) const