projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with not closing game panel after envelope request for restart
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index c6a7ef73146a7cf1bd90b59121cbf0856b802189..b39383fdd3cbcb0d789e1f97ca213454de3db429 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-15252,6
+15252,9
@@
void RequestRestartGame(char *message)
}
else
{
+ // needed in case of envelope request to close game panel
+ CloseDoor(DOOR_CLOSE_1);
+
SetGameStatus(GAME_MODE_MAIN);
DrawMainMenu();