Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Source/Common/Networking/Packet/JoinDataPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public void Bind(PacketBuffer buf)
buf.Bind(ref rwVersion);
buf.Bind(ref mpVersion);
buf.Bind(ref defStatus, BinderOf.Enum<DefCheckStatus>());
buf.BindRemaining(ref rawServerInitData);
// Max 512KiB. Should be way more than enough. As an example, one game with ~100 mods used ~35KiB.
buf.BindRemaining(ref rawServerInitData, maxLength: 1<<19);
}
}

Expand Down
Loading