implement bb pre-lobby event

This commit is contained in:
Martin Michelsen
2022-07-30 00:26:51 -07:00
parent 2cb49030f0
commit 431cd480e8
+4
View File
@@ -414,6 +414,10 @@ void process_login_bb(shared_ptr<ServerState> s, shared_ptr<Client> c,
c->game_data.bb_player_index = 0;
}
if (cmd.menu_id == MenuID::LOBBY) {
c->preferred_lobby_id = cmd.preferred_lobby_id;
}
send_client_init_bb(c, 0);
switch (c->bb_game_state) {