mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Cleanup unused code
This commit is contained in:
parent
53ddbec527
commit
c02cd0a730
@ -78,10 +78,6 @@ impl Clients {
|
||||
})
|
||||
}
|
||||
|
||||
//pub fn get_index_mut<'a>(&'a mut self, index: u32) -> Option<&'a mut Client> {
|
||||
// self.clients.get_index_mut(index)
|
||||
//}
|
||||
|
||||
pub fn remove_if<F: FnMut(EcsEntity, &mut Client) -> bool>(&mut self, mut f: F) {
|
||||
self.clients.retain(|entity, client| !f(*entity, client));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user