From a9818642372f4ce089a8aa8c9b6fe6b610867338 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 3 May 2018 08:23:26 +1000 Subject: [PATCH] fix for new menu chainging and scripts --- src/menus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menus.c b/src/menus.c index 5b40bfd..98bf801 100644 --- a/src/menus.c +++ b/src/menus.c @@ -536,7 +536,7 @@ int menu_system(char *menufile) { list_messages(gUser); break; case MENU_DOSCRIPT: - do_lua_script(menu[i]->data); + do_lua_script(menu[i]->data[j]); break; case MENU_SENDNODEMSG: send_node_msg();