Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Core/LFD: Fixed possible multithreading crash, thanks LihO

  • Loading branch information...
commit bdae78ac9d5b11da9666fc6b93a3598a76bb3dfc 1 parent 1bc370a
Sebastian Valle Subv authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 src/server/game/Entities/Player/Player.cpp
7 src/server/game/Entities/Player/Player.cpp
View
@@ -2314,14 +2314,9 @@ bool Player::TeleportToBGEntryPoint()
if (m_bgData.joinPos.m_mapId == MAPID_INVALID)
return false;
- Group* group = GetGroup();
- if (group && group->isLFGGroup() && group->GetMembersCount() == 1)
- group->Disband();
- else
- ScheduleDelayedOperation(DELAYED_BG_GROUP_RESTORE);
-
ScheduleDelayedOperation(DELAYED_BG_MOUNT_RESTORE);
ScheduleDelayedOperation(DELAYED_BG_TAXI_RESTORE);
+ ScheduleDelayedOperation(DELAYED_BG_GROUP_RESTORE);
return TeleportTo(m_bgData.joinPos);
}
Please sign in to comment.
Something went wrong with that request. Please try again.