Core/Network: Fixed packets being properly received only by the first player when broadcasted to everyone
Closes #12675
This commit is contained in:
1 parent
440fff54b8
commit
7a888d03bd
2 files changed
+2
-2
No files matched your search
@@ -153,7 +153,7 @@ void WorldSocket::AsyncWrite(WorldPacket& packet)
|
||||
bool needsWriteStart = _writeQueue.empty();
|
||||
_authCrypt.EncryptSend(header.header, header.getHeaderLength());
|
||||
|
||||
_writeQueue.emplace(header, std::move(packet));
|
||||
_writeQueue.emplace(header, packet);
|
||||
|
||||
if (needsWriteStart)
|
||||
AsyncWrite(_writeQueue.front());
|
||||
|
||||
Reference in new issue
Block a user