fixed bug with handling networking packets if request dialog is active
[rocksndiamonds.git] / src / network.c
index f67f819c0e98334277586611c669ae5995702657..73887cd5b52e1270f52d3d38d9ebaf21eaa35c69 100644 (file)
@@ -1049,6 +1049,10 @@ static void HandleNetworkingDisconnect(void)
 
 void HandleNetworking(void)
 {
+  /* do not handle any networking packets if request dialog is active */
+  if (game.request_active)
+    return;
+
   char *error_message = HandleNetworkingPackets();
 
   if (error_message != NULL)