From 302d06c038692fd2690b55345fadcddb40478057 Mon Sep 17 00:00:00 2001 From: collett Date: Tue, 12 May 2020 03:06:04 +0900 Subject: [PATCH] also when logout --- src/world/Session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/world/Session.cpp b/src/world/Session.cpp index 56bcc888..b446f293 100644 --- a/src/world/Session.cpp +++ b/src/world/Session.cpp @@ -72,6 +72,7 @@ void Sapphire::World::Session::close() // remove the session from the player if( m_pPlayer ) { + m_pPlayer->clearBuyBackMap(); // do one last update to db m_pPlayer->updateSql(); // reset the zone, so the zone handler knows to remove the actor