mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[8427] remove afk-flag at bg-join
Signed-off-by: balrok <der-coole-carl@gmx.net>
This commit is contained in:
parent
5d50bb16b8
commit
beae3fe00f
2 changed files with 5 additions and 1 deletions
|
|
@ -1099,6 +1099,10 @@ void BattleGround::StartBattleGround()
|
|||
|
||||
void BattleGround::AddPlayer(Player *plr)
|
||||
{
|
||||
// remove afk from player
|
||||
if (plr->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_AFK))
|
||||
plr->ToggleAFK();
|
||||
|
||||
// score struct must be created in inherited class
|
||||
|
||||
uint64 guid = plr->GetGUID();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8426"
|
||||
#define REVISION_NR "8427"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue