mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
missed a place for enter_hook
This commit is contained in:
parent
ee9bcc98c1
commit
7816644fc3
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ bi_Menu_SelectMenu (progs_t *pr)
|
|||
if (menu) {
|
||||
key_dest = key_menu;
|
||||
game_target = IMT_CONSOLE;
|
||||
if (menu->enter_hook) {
|
||||
PR_ExecuteProgram (&menu_pr_state, menu->enter_hook);
|
||||
}
|
||||
} else {
|
||||
if (name && *name)
|
||||
Con_Printf ("no menu \"%s\"\n", name);
|
||||
|
|
Loading…
Reference in a new issue