diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-08-20 18:28:25 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-08-20 18:28:25 +0200 |
| commit | 177c56e2b8402cee95ae1ff1e042ddf2eabe52b6 (patch) | |
| tree | 94cb2662543ac425f3699d279d763c7edbbde46f | |
| parent | d94d2fb405a0d3634951cc8fa4b0e22c7979c438 (diff) | |
move button enabling to ID because not all servers understand FL
| -rw-r--r-- | src/packet_distribution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index b79ec309..40015fda 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -175,6 +175,8 @@ void AOApplication::server_packet_received(AOPacket *p_packet) s_pv = f_contents.at(0).toInt(); server_software = f_contents.at(1); + w_lobby->enable_connect_button(); + send_server_packet(new AOPacket("ID#AO2#" + get_version_string() + "#%")); } else if (header == "CT") @@ -214,8 +216,6 @@ void AOApplication::server_packet_received(AOPacket *p_packet) casing_alerts_enabled = true; if (f_packet.contains("modcall_reason",Qt::CaseInsensitive)) modcall_reason_enabled = true; - - w_lobby->enable_connect_button(); } else if (header == "PN") { |
