Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9cacfc5

Browse files
committedJan 17, 2011
Make Esc be equivalent to clicking the return button in the pre-game "multiop" menu.
Weird stuff could happen, such as the client thinking it's a host when it isn't. Changelog: Fix clients getting confused when trying to leave a game before it starts by pressing the Escape key.
·
v2.3.9.12.3
1 parent 89d8b59 commit 9cacfc5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎src/multiint.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3288,7 +3288,14 @@ void runMultiOptions(void)
32883288

32893289
if (CancelPressed())
32903290
{
3291-
changeTitleMode(lastTitleMode);
3291+
if (multiRequestUp)
3292+
{
3293+
changeTitleMode(lastTitleMode);
3294+
}
3295+
else
3296+
{
3297+
processMultiopWidgets(CON_CANCEL); // "Press" the cancel button to clean up net connections and stuff.
3298+
}
32923299
}
32933300
}
32943301

0 commit comments

Comments
 (0)
Please sign in to comment.