|
|
@ -18,7 +18,7 @@ pub fn join_lobby(id: ClientId, |
|
|
|
let playerinfo = lobby_clients.iter()
|
|
|
|
.map(|area_client| {
|
|
|
|
let client = clients.get(&area_client.client).ok_or(ShipError::ClientNotFound(area_client.client)).unwrap();
|
|
|
|
player_info(0x100, &client, area_client, item_manager, level_table)
|
|
|
|
player_info(0x100, client, area_client, item_manager, level_table)
|
|
|
|
});
|
|
|
|
|
|
|
|
let client = clients.get(&id).ok_or(ShipError::ClientNotFound(id)).unwrap();
|
|
|
@ -55,7 +55,7 @@ pub fn add_to_lobby(id: ClientId, |
|
|
|
block: client.block as u16,
|
|
|
|
event: 0,
|
|
|
|
padding: 0,
|
|
|
|
playerinfo: player_info(0x100, &client, &area_client, item_manager, level_table),
|
|
|
|
playerinfo: player_info(0x100, client, &area_client, item_manager, level_table),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|