Core/Arena: Fix Arena.ArenaStartPersonalRating setting not having effect if the player didn't do any arena match before next server restart

Port From (https://github.com/TrinityCore/TrinityCore/commit/341ef2c0dd5a15ecfe95450febdd41272f1e48d1)
This commit is contained in:
hondacrx
2022-04-28 10:23:25 -04:00
parent da6ea9759c
commit 258c3c489f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -154,6 +154,7 @@ namespace Game.Arenas
stmt = DB.Characters.GetPreparedStatement(CharStatements.INS_ARENA_TEAM_MEMBER);
stmt.AddValue(0, teamId);
stmt.AddValue(1, playerGuid.GetCounter());
stmt.AddValue(2, (ushort)personalRating);
DB.Characters.Execute(stmt);
// Inform player if online