projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added functions to check if game is over (and solved or not) (not used yet)
[rocksndiamonds.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index f67f819c0e98334277586611c669ae5995702657..73887cd5b52e1270f52d3d38d9ebaf21eaa35c69 100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-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)