Merge pull request #751 from noisiver/update-character-online

Change statement to a newly created one
This commit is contained in:
Yunfan Li
2024-12-01 11:45:42 +08:00
committed by GitHub

View File

@@ -52,7 +52,7 @@ public:
void OnDatabaseSelectIndexLogout(Player* player, uint32& statementIndex, uint32& statementParam) override
{
statementIndex = CHAR_UPD_CHAR_ONLINE;
statementIndex = CHAR_UPD_CHAR_OFFLINE;
statementParam = player->GetGUID().GetCounter();
}