mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
[Server] Fix logic in Cell::sendToLoaded()
This commit is contained in:
parent
fae3bcaeeb
commit
8616323bae
@ -67,9 +67,12 @@ void Cell::sendToLoaded(mwmp::WorldPacket *worldPacket, mwmp::BaseEvent *baseEve
|
||||
for (auto pl : plList)
|
||||
{
|
||||
if (pl->guid == baseEvent->guid) continue;
|
||||
|
||||
worldPacket->setEvent(baseEvent);
|
||||
worldPacket->setGUID(pl->guid);
|
||||
worldPacket->Send();
|
||||
|
||||
// Send the packet to this eligible guid
|
||||
worldPacket->Send(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user