mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7404] Fixed cheating in rated arena matches by alt+f4.
Signed-off-by: Triply <triply@getmangos.com>
This commit is contained in:
parent
54f2dbefa0
commit
8a9942619b
7 changed files with 39 additions and 58 deletions
|
|
@ -300,7 +300,7 @@ void WorldSession::LogoutPlayer(bool Save)
|
|||
}
|
||||
//drop a flag if player is carrying it
|
||||
if(BattleGround *bg = _player->GetBattleGround())
|
||||
bg->EventPlayerDroppedFlag(_player);
|
||||
bg->EventPlayerLoggedOut(_player);
|
||||
|
||||
///- Teleport to home if the player is in an invalid instance
|
||||
if(!_player->m_InstanceValid && !_player->isGameMaster())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue