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.
This commit is contained in:
parent
fdad79f775
commit
8d7370decf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue