rebase and remove unneeded function
This commit is contained in:
parent
51240a31e3
commit
ead1752978
@ -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…
x
Reference in New Issue
Block a user