From 4f06019436f336b07f5c2ecc5d1737c837c324f5 Mon Sep 17 00:00:00 2001 From: Revision Date: Sat, 30 Nov 2024 17:09:49 +0100 Subject: [PATCH] Change statement to a newly created one --- src/Playerbots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Playerbots.cpp b/src/Playerbots.cpp index 94b6b806..5386d9b2 100644 --- a/src/Playerbots.cpp +++ b/src/Playerbots.cpp @@ -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(); }