From 81824b1540120533c93b18bd29dc5a290a2fa91d Mon Sep 17 00:00:00 2001 From: Maple Date: Fri, 24 Apr 2026 22:09:02 +0200 Subject: [PATCH] try fixing matchmaking again --- rnex-core/src/nex/matchmake.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/rnex-core/src/nex/matchmake.rs b/rnex-core/src/nex/matchmake.rs index 085c8a1..e1afa21 100644 --- a/rnex-core/src/nex/matchmake.rs +++ b/rnex-core/src/nex/matchmake.rs @@ -235,10 +235,11 @@ impl ExtendedMatchmakeSession { continue; }*/ + if other_conn.pid != self.session.gathering.host_pid { + continue; + } + for pid in &list_of_connected_pids { - if other_conn.pid == *pid { - continue; - } other_conn .remote .process_notification_event(NotificationEvent { @@ -261,9 +262,6 @@ impl ExtendedMatchmakeSession { continue; } for new_conn_pid in conns.iter().filter_map(Weak::upgrade).map(|c| c.pid) { - if old_conns.pid == new_conn_pid { - continue; - } old_conns .remote .process_notification_event(NotificationEvent {