Skip to content

Commit

Permalink
Only process async packets during the world update.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Sep 27, 2024
1 parent 9e63169 commit f6da813
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/game/World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1994,8 +1994,6 @@ void World::Update(uint32 diff)
sAuctionMgr.Update();
}

m_canProcessAsyncPackets = false;

GetMessager().Execute(this);

// <li> Handle session updates
Expand Down Expand Up @@ -2120,8 +2118,6 @@ void World::Update(uint32 diff)
// And last, but not least handle the issued cli commands
ProcessCliCommands();

m_canProcessAsyncPackets = true;

//cleanup unused GridMap objects as well as VMaps
if (getConfig(CONFIG_BOOL_CLEANUP_TERRAIN))
sTerrainMgr.Update(diff);
Expand Down

0 comments on commit f6da813

Please sign in to comment.