[Fix] Regression in World SendEmoteMessageRaw (#4837)

This commit is contained in:
Chris Miles 2025-04-03 11:17:09 -05:00 committed by GitHub
parent 60a2dd8616
commit 5babc864b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -912,8 +912,9 @@ bool ZSList::SendPacketToZonesWithGuild(uint32 guild_id, ServerPacket* pack)
bool ZSList::SendPacketToZonesWithGMs(ServerPacket* pack)
{
auto servers = client_list.GetZoneServersWithGMs();
for (auto const &z: zone_server_list) {
for (auto const &server_id: client_list.GetZoneServersWithGMs()) {
for (auto const &server_id: servers) {
if (z->GetID() == server_id && z->GetZoneID() > 0) {
z->SendPacket(pack);
}