V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
Showing only changes of commit 81824b1540 - Show all commits

try fixing matchmaking again

Maple 2026-04-24 22:09:02 +02:00

View file

@ -235,10 +235,11 @@ impl ExtendedMatchmakeSession {
continue; continue;
}*/ }*/
for pid in &list_of_connected_pids { if other_conn.pid != self.session.gathering.host_pid {
if other_conn.pid == *pid {
continue; continue;
} }
for pid in &list_of_connected_pids {
other_conn other_conn
.remote .remote
.process_notification_event(NotificationEvent { .process_notification_event(NotificationEvent {
@ -261,9 +262,6 @@ impl ExtendedMatchmakeSession {
continue; continue;
} }
for new_conn_pid in conns.iter().filter_map(Weak::upgrade).map(|c| c.pid) { 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 old_conns
.remote .remote
.process_notification_event(NotificationEvent { .process_notification_event(NotificationEvent {