mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
Don't send update to self while in group
This commit is contained in:
parent
ce3d3153d8
commit
78b0c86442
@ -13161,7 +13161,11 @@ void Client::BroadcastPositionUpdate()
|
||||
|
||||
Group *g = GetGroup();
|
||||
if (g) {
|
||||
g->QueuePacket(&outapp);
|
||||
for (auto & m : g->members) {
|
||||
if (m && m->IsClient() && m != this) {
|
||||
m->CastToClient()->QueuePacket(&outapp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user