aboutsummaryrefslogtreecommitdiff
path: root/src/packet_distribution.cpp
diff options
context:
space:
mode:
authorscatterflower <marisaposs@gameboyprinter.moe>2020-10-04 01:41:23 -0500
committerscatterflower <marisaposs@gameboyprinter.moe>2020-10-04 01:41:23 -0500
commitf91fc5739cf45e2fd23661c7ba4ca9f28e3cacec (patch)
tree381536854f633edbfc38aa4384601786a3a4d4a9 /src/packet_distribution.cpp
parent849f91d991bf0e95d579df268e9ab358e09b1ac1 (diff)
fix doubleclick server being buggy
Diffstat (limited to 'src/packet_distribution.cpp')
-rw-r--r--src/packet_distribution.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp
index e4e5d5c2..632e51d0 100644
--- a/src/packet_distribution.cpp
+++ b/src/packet_distribution.cpp
@@ -228,6 +228,9 @@ 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#%"));
}
else if (header == "SI") {
if (f_contents.size() != 3)