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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user