use gc_x instead of gc_b to cancel connection screen

This commit is contained in:
SinnamonLat 2022-05-24 01:30:00 +02:00
parent ecf7edd55f
commit 1033ddd928

View file

@ -1487,7 +1487,7 @@ static void M_ConfirmConnect(event_t *ev)
M_ClearMenus(true);
}
else if (G_PlayerInputDown(0, gc_b, 1))
else if (G_PlayerInputDown(0, gc_x, 1))
{
cl_mode = CL_ABORTED;
M_ClearMenus(true);
@ -1900,7 +1900,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic
G_MapEventsToControls(&events[eventtail]);
}
if (G_PlayerInputDown(0, gc_b, 1) || cl_mode == CL_ABORTED)
if (G_PlayerInputDown(0, gc_x, 1) || cl_mode == CL_ABORTED)
{
CONS_Printf(M_GetText("Network game synchronization aborted.\n"));
// M_StartMessage(M_GetText("Network game synchronization aborted.\n\nPress ESC\n"), NULL, MM_NOTHING);