diff options
author | 2022-03-05 09:35:54 -0600 | |
---|---|---|
committer | 2022-03-05 09:35:54 -0600 | |
commit | ea0cdde1486ed0d22f0a7d814d548efeabb67a80 (patch) | |
tree | 05aa6e58feec73b174e19729f1c0f8d1f1c99f9f | |
parent | 160c540b47072a48512fb4ac29166e14d1907d77 (diff) |
plugins/cheatfind: don't try to call a handler for the previous menu option
-rw-r--r-- | plugins/cheatfind/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua index 69330342da5..d565b31437f 100644 --- a/plugins/cheatfind/init.lua +++ b/plugins/cheatfind/init.lua @@ -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")) |