diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2020-11-07 19:11:43 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-07 19:11:43 -0600 |
| commit | 2d398c323781be4f5b611cad84a4c606f7e64e6f (patch) | |
| tree | 1e50e31b1e4ec7f5df287d9c1bf964885a0dfe81 /src/packet_distribution.cpp | |
| parent | dd085c89587258cc32ee89ab27f943c9e6d9d759 (diff) | |
| parent | a46c7ca8f6492233adddd5ddadd7733a5ca4eaca (diff) | |
Merge pull request #312 from AttorneyOnline/fix-doubleclick
fix doubleclick server being buggy
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index ab9ec3f0..f7125797 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -212,6 +212,11 @@ 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) { + send_server_packet(new AOPacket("askchaa#%")); + w_lobby->doubleclicked = false; + } } else if (header == "SI") { if (f_contents.size() != 3) |
