missed a place for enter_hook

This commit is contained in:
Bill Currie 2002-03-19 16:59:25 +00:00
parent ee9bcc98c1
commit 7816644fc3

View file

@ -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);