mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
don't go to game when leaving menus when there's no game. doesn't actually
work properly, but I think that's a bug in the main client code.
This commit is contained in:
parent
b73851d5aa
commit
9181ddaa4c
1 changed files with 7 additions and 2 deletions
|
@ -368,8 +368,13 @@ Menu_Leave ()
|
|||
if (menu) {
|
||||
menu = menu->parent;
|
||||
if (!menu) {
|
||||
key_dest = key_game;
|
||||
game_target = IMT_0;
|
||||
if (con_data.force_commandline) {
|
||||
key_dest = key_console;
|
||||
game_target = IMT_CONSOLE;
|
||||
} else {
|
||||
key_dest = key_game;
|
||||
game_target = IMT_0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue