BG Crash fixes

This commit is contained in:
郑佩茹
2022-09-26 10:56:43 -06:00
parent f88f49471a
commit 0a62ee0041
4 changed files with 9 additions and 4 deletions

View File

@@ -4880,6 +4880,11 @@ bool ArenaTactics::Execute(Event event)
bool ArenaTactics::moveToCenter(Battleground* bg)
{
// Sanity check
if (!bg)
{
return true;
}
uint32 Preference = context->GetValue<uint32>("bg role")->Get();
switch (bg->GetBgTypeID())
{