From d85877a7be324c2d0e5d577d6b666ca78d51e8bb Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 20:54:03 +0200 Subject: [PATCH] cultnet-rs: the session no longer keeps an initial sequence nothing reads Reset used to reissue from it; issued sequences now survive a reset, so the field was dead. Co-Authored-By: Claude Opus 5.5 --- packages/cultnet-rs/src/rudp.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/cultnet-rs/src/rudp.rs b/packages/cultnet-rs/src/rudp.rs index 55a8d8cf..29467890 100644 --- a/packages/cultnet-rs/src/rudp.rs +++ b/packages/cultnet-rs/src/rudp.rs @@ -180,7 +180,6 @@ pub struct CultNetRudpSession { max_pending_reliable_packets: Option, max_payload_bytes: Option, max_pending_fragment_sets: usize, - initial_sequence: u32, next_sequence: u32, next_sequenced_by_channel: BTreeMap, next_fragment_id: u16, @@ -208,7 +207,6 @@ impl CultNetRudpSession { max_pending_reliable_packets: options.max_pending_reliable_packets, max_payload_bytes: None, max_pending_fragment_sets: 64, - initial_sequence: options.initial_sequence, next_sequence: options.initial_sequence, next_sequenced_by_channel: BTreeMap::new(), next_fragment_id: 1,