Fixed streaming logic to only happen when we are not editing a mission, also some issues with objects that cannot be streamed eg camera, and player.

Reverted limits
This commit is contained in:
marauder2k7 2026-02-20 16:33:36 +00:00
parent eecc2bdaee
commit 1fed963d82
5 changed files with 37 additions and 23 deletions

View file

@ -425,7 +425,7 @@ void NetConnection::ghostWritePacket(BitStream *bstream, PacketNotify *notify)
bstream->writeInt(sendSize - 3, GhostIndexBitSize);
S32 bytesThisPacket = 0;
U32 maxBytesPerPacket = mGhostByteBudget;
U32 maxBytesPerPacket = mMaxRate.packetSize;
//
for(i = mGhostZeroUpdateIndex - 1; i >= 0 && !bstream->isFull(); i--)
{