Send username when connecting (#1031)
Hack af, but the alternative is breaking compatability on the last mile.
This commit is contained in:
parent
f0c594aed8
commit
ac673099e0
@ -119,7 +119,7 @@ void AOApplication::destruct_courtroom()
|
||||
|
||||
QString AOApplication::get_version_string()
|
||||
{
|
||||
return QString::number(RELEASE) + "." + QString::number(MAJOR_VERSION) + "." + QString::number(MINOR_VERSION) + " RC2";
|
||||
return QString::number(RELEASE) + "." + QString::number(MAJOR_VERSION) + "." + QString::number(MINOR_VERSION) + " RC3";
|
||||
}
|
||||
|
||||
QString AOApplication::find_image(QStringList p_list)
|
||||
|
@ -276,6 +276,9 @@ void AOApplication::server_packet_received(AOPacket packet)
|
||||
}
|
||||
|
||||
send_server_packet(AOPacket("RD"));
|
||||
|
||||
// TODO : Implement username messaging and requirement server-side properly.
|
||||
send_server_packet(AOPacket("CT", {Options::getInstance().username(), ""}));
|
||||
log_to_demo = false;
|
||||
}
|
||||
else if (header == "FM") // Fetch music ONLY
|
||||
|
Loading…
Reference in New Issue
Block a user