aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-08-05 18:53:34 +0200
committerstonedDiscord <stoned@derpymail.org>2019-08-05 18:53:34 +0200
commit15a48a051c21275662b833d46d44b4e690d535ce (patch)
tree49a0ac7f919c157b1bcd8801116785b21e50274c
parent9718a90bc7906981ce8a4e77f1b56ee86e6cb061 (diff)
make the password field in charselect useful
let the server decide what to do with this
-rw-r--r--src/charselect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp
index 4987cf57..846daff0 100644
--- a/src/charselect.cpp
+++ b/src/charselect.cpp
@@ -135,7 +135,7 @@ void Courtroom::char_clicked(int n_char)
}
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);