chore: anti pretendo people note and cleanup
This commit is contained in:
parent
4e83068662
commit
c698e0b3dd
25 changed files with 69 additions and 682 deletions
|
|
@ -203,7 +203,7 @@ impl ExtendedMatchmakeSession{
|
|||
};
|
||||
|
||||
|
||||
let other_pid = other_conn.pid;
|
||||
// let other_pid = other_conn.pid;
|
||||
/*if other_pid == self.session.gathering.owner_pid &&
|
||||
joining_pid == self.session.gathering.owner_pid{
|
||||
continue;
|
||||
|
|
@ -341,7 +341,7 @@ impl ExtendedMatchmakeSession{
|
|||
}
|
||||
|
||||
pub async fn migrate_host(&mut self, initiator_pid: u32) -> Result<(), ErrorCode>{
|
||||
let players: Vec<_> = self.connected_players.iter().filter_map(|p| p.upgrade()).collect();
|
||||
// let players: Vec<_> = self.connected_players.iter().filter_map(|p| p.upgrade()).collect();
|
||||
|
||||
self.session.gathering.host_pid = self.session.gathering.owner_pid;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue