Remove debugging logs
This commit is contained in:
parent
c10f6cfb82
commit
591cfee715
2 changed files with 5 additions and 5 deletions
|
@ -108,7 +108,6 @@ pub fn handle_peer_change(
|
|||
warn!("Peer {} doesn't exist (just added?)", change.peer);
|
||||
}
|
||||
} else {
|
||||
info!("Removing peer {}", change.peer);
|
||||
commands.get_entity(*entity)?.despawn();
|
||||
peer_map.remove(&change.peer);
|
||||
}
|
||||
|
@ -126,7 +125,6 @@ pub fn handle_peer_change(
|
|||
}
|
||||
if peer_map.len() > 1 {
|
||||
if let Some(entity) = peer_map.remove(&Uuid::nil()) {
|
||||
warn!("Removing initial Peer");
|
||||
commands.get_entity(entity)?.despawn();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue