fix (Core/Wintergrasp) Fix map and battle icon (#21622)

This commit is contained in:
p-tkachuk
2025-03-02 05:46:49 +01:00
committed by GitHub
parent e1f84d5604
commit 544878c048
5 changed files with 46 additions and 9 deletions

View File

@@ -168,6 +168,7 @@ bool Battlefield::Update(uint32 diff)
m_StartGrouping = true;
InvitePlayersInZoneToQueue();
OnStartGrouping();
SendUpdateWorldStates();
}
bool objective_changed = false;
@@ -353,6 +354,8 @@ void Battlefield::StartBattle()
DoPlaySoundToAll(BF_START);
OnBattleStart();
SendUpdateWorldStates();
}
void Battlefield::EndBattle(bool endByTimer)
@@ -377,6 +380,7 @@ void Battlefield::EndBattle(bool endByTimer)
// Reset battlefield timer
m_Timer = m_NoWarBattleTime;
SendInitWorldStatesToAll();
SendUpdateWorldStates();
}
void Battlefield::DoPlaySoundToAll(uint32 SoundID)