mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[11651] Not alow show arena statistics before arena end.
This commit is contained in:
parent
45292a9d56
commit
248bfd2a81
2 changed files with 5 additions and 1 deletions
|
|
@ -290,6 +290,10 @@ void WorldSession::HandlePVPLogDataOpcode( WorldPacket & /*recv_data*/ )
|
||||||
if (!bg)
|
if (!bg)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// arena finish version will send in BattleGround::EndBattleGround directly
|
||||||
|
if (bg->isArena())
|
||||||
|
return;
|
||||||
|
|
||||||
WorldPacket data;
|
WorldPacket data;
|
||||||
sBattleGroundMgr.BuildPvpLogDataPacket(&data, bg);
|
sBattleGroundMgr.BuildPvpLogDataPacket(&data, bg);
|
||||||
SendPacket(&data);
|
SendPacket(&data);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11650"
|
#define REVISION_NR "11651"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue