aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-08-16 00:51:33 -0300
committerariel- <ariel-@users.noreply.github.com>2016-08-16 00:51:33 -0300
commitfbc521084cdd57d8e33071961aa3100e0fab2596 (patch)
tree38e9aa865d574a7d7558dd144861fce3d03ebe7a /src
parent9cdbf903e28fca303c580b096016e26c402a6a7f (diff)
Core/Battlegrounds: Properly readd player to Battleground containers after a login.
Closes #16141
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Battleground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp
index 2e66c587e15..59f40af5240 100644
--- a/src/server/game/Battlegrounds/Battleground.cpp
+++ b/src/server/game/Battlegrounds/Battleground.cpp
@@ -1129,7 +1129,7 @@ void Battleground::EventPlayerLoggedIn(Player* player)
}
}
m_Players[guid].OfflineRemoveTime = 0;
- PlayerAddedToBGCheckIfBGIsRunning(player);
+ AddPlayer(player);
// if battleground is starting, then add preparation aura
// we don't have to do that, because preparation aura isn't removed when player logs out
}