Browse Source

rebase and remove unneeded function

pbs
andy 4 years ago
parent
commit
ead1752978
  1. 7
      tests/common.rs

7
tests/common.rs

@ -80,10 +80,3 @@ pub async fn join_room<EG: EntityGateway>(ship: &mut ShipServerState<EG>, id: Cl
item: room_id,
})).await.unwrap().for_each(drop);
}
pub async fn change_lobby<EG: EntityGateway>(ship: &mut ShipServerState<EG>, id: ClientId, lobby: u32) {
ship.handle(id, &RecvShipPacket::LobbySelect(LobbySelect{
menu: LOBBY_MENU_ID,
lobby: lobby,
})).await.unwrap().for_each(drop);
}
Loading…
Cancel
Save