mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 00:27:44 +00:00
also when logout
This commit is contained in:
parent
0273931e4c
commit
302d06c038
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue