projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed handling game actions during "play again" request in network mode
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index 5900616f1956d78c6ad87b6b1585ca4971f995a9..1a40ae7cb291fbe96c9914acad764fed22ee0d0a 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-8211,9
+8211,15
@@
void HandleSetupScreen(int mx, int my, int dx, int dy, int button)
void HandleGameActions(void)
{
+ CheckGameOver();
+
if (game.restart_game_message != NULL)
+ {
RequestRestartGame(game.restart_game_message);
+ return;
+ }
+
if (game_status != GAME_MODE_PLAYING)
return;