diff options
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Battlegrounds/SeethingShore/battleground_seething_shore.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/server/scripts/Battlegrounds/SeethingShore/battleground_seething_shore.cpp b/src/server/scripts/Battlegrounds/SeethingShore/battleground_seething_shore.cpp index 282f5fd54ef..f6810ecd7a5 100644 --- a/src/server/scripts/Battlegrounds/SeethingShore/battleground_seething_shore.cpp +++ b/src/server/scripts/Battlegrounds/SeethingShore/battleground_seething_shore.cpp @@ -689,6 +689,9 @@ struct transport_seething_shore : TransportScript      void OnRemovePassenger(Transport* /*transport*/, Player* player) override      { +        if (!player->IsInWorld()) +            return; +          if (Battleground const* bg = player->GetBattleground())          {              if (bg->GetStatus() != STATUS_IN_PROGRESS) | 
