[General] Fix typo related to originClientScript in ObjectPacket

remotes/1728160796594174844/tmp_0.7.0-alpha
David Cernat 7 years ago
parent 3dc2d1b214
commit 9e6459043b

@ -51,7 +51,7 @@ bool ObjectPacket::PacketHeader(RakNet::BitStream *bs, bool send)
RW(objectList->packetOrigin, send);
if (objectList->packetOrigin == mwmp::CLIENT_SCRIPT)
RW(objectList->originClientScript, true);
RW(objectList->originClientScript, send, true);
if (send)
objectList->baseObjectCount = (unsigned int)(objectList->baseObjects.size());

Loading…
Cancel
Save