From 8d7370decf100aa78b91e501d0f4d20de87a83f8 Mon Sep 17 00:00:00 2001 From: Droz Date: Sat, 15 Oct 2022 11:05:00 -0400 Subject: [PATCH] Fix(core/scripts): issue 13325 - reset talents command (#13326) Fix issue 13325 - reset talents command does not set offline player at_login flag to reset talents. --- src/server/scripts/Commands/cs_reset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Commands/cs_reset.cpp b/src/server/scripts/Commands/cs_reset.cpp index 31a597517..c189b009d 100644 --- a/src/server/scripts/Commands/cs_reset.cpp +++ b/src/server/scripts/Commands/cs_reset.cpp @@ -252,7 +252,7 @@ public: else if (targetGuid) { CharacterDatabasePreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_UPD_ADD_AT_LOGIN_FLAG); - stmt->SetData(0, uint16(AT_LOGIN_NONE | AT_LOGIN_RESET_PET_TALENTS)); + stmt->SetData(0, uint16(AT_LOGIN_RESET_TALENTS | AT_LOGIN_RESET_PET_TALENTS)); stmt->SetData(1, targetGuid.GetCounter()); CharacterDatabase.Execute(stmt);