make the password field in charselect useful

let the server decide what to do with this
This commit is contained in:
stonedDiscord 2019-08-05 18:53:34 +02:00
parent 9718a90bc7
commit 15a48a051c

View File

@ -135,7 +135,7 @@ void Courtroom::char_clicked(int n_char)
} }
else else
{ {
ao_app->send_server_packet(new AOPacket("CC#" + QString::number(ao_app->s_pv) + "#" + QString::number(n_char) + "#" + get_hdid() + "#%")); ao_app->send_server_packet(new AOPacket("CC#" + QString::number(ao_app->s_pv) + "#" + QString::number(n_char) + "#" + get_hdid() + "#" + ui_char_password->text() +"#%"));
} }
ui_ic_chat_name->setPlaceholderText(char_list.at(n_char).name); ui_ic_chat_name->setPlaceholderText(char_list.at(n_char).name);