plugins/cheatfind: don't try to call a handler for the previous menu option

This commit is contained in:
cracyc 2022-03-05 09:35:54 -06:00
parent 160c540b47
commit ea0cdde148

View File

@ -1049,6 +1049,7 @@ function cheatfind.startplugin()
menu_is_showing = false
return false -- return false so menu will be popped off the stack
end
if index == 0 then return false end
return menu_func[index](event)
end
emu.register_menu(menu_callback, menu_populate, _("Cheat Finder"))