projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a1ec8
)
fixed changing to main menu after stopping network game only when playing
author
Holger Schemel
<info@artsoft.org>
Sun, 1 Jul 2018 11:20:14 +0000
(13:20 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 1 Jul 2018 11:21:14 +0000
(13:21 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index 010e8b33f6c6bef3931c50b2cf5884ca0b52575c..656c0ab988d12c9e385205f31618d65b978584b2 100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-669,11
+669,11
@@
static void Handle_OP_STOP_PLAYING()
if (buffer[2] != NETWORK_STOP_BY_PLAYER || stopped_by_remote_player)
Request(message, REQ_CONFIRM | REQ_STAY_CLOSED);
- }
- SetGameStatus(GAME_MODE_MAIN);
+
SetGameStatus(GAME_MODE_MAIN);
- DrawMainMenu();
+ DrawMainMenu();
+ }
}
static void Handle_OP_MOVE_PLAYER(unsigned int len)