diff options
| author | scatterflower <marisaposs@gameboyprinter.moe> | 2020-11-01 13:35:57 -0600 |
|---|---|---|
| committer | scatterflower <marisaposs@gameboyprinter.moe> | 2020-11-01 13:35:57 -0600 |
| commit | a46c7ca8f6492233adddd5ddadd7733a5ca4eaca (patch) | |
| tree | 13ff8da00b655b030a7fd6fa968284acb70cf41a | |
| parent | f91fc5739cf45e2fd23661c7ba4ca9f28e3cacec (diff) | |
reset doubleclick flag on connect
| -rw-r--r-- | src/packet_distribution.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 632e51d0..b768d6c4 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -229,8 +229,10 @@ void AOApplication::server_packet_received(AOPacket *p_packet) w_lobby->set_player_count(f_contents.at(0).toInt(), f_contents.at(1).toInt()); - if (w_lobby->doubleclicked) + if (w_lobby->doubleclicked) { send_server_packet(new AOPacket("askchaa#%")); + w_lobby->doubleclicked = false; + } } else if (header == "SI") { if (f_contents.size() != 3) |
