From 7a594684194cf48b044c7deaa047f7104ad71fd8 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Mon, 31 Aug 2020 08:25:36 +0200 Subject: [PATCH] fix copy&paste issue --- sfinv_buttons/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfinv_buttons/init.lua b/sfinv_buttons/init.lua index 4628575..29ad920 100644 --- a/sfinv_buttons/init.lua +++ b/sfinv_buttons/init.lua @@ -87,7 +87,7 @@ smart_sfinv_api.register_enhancement({ for idx = 1, last_button do local def = sfinv_buttons.registered_buttons[idx] if def and fields[def.button_name] and def.action then - def.action(player, context, content, show_inv) + def.action(player, context, fields) break end end