diff --git a/functions.lua b/functions.lua index 9670f86..47cfd6e 100644 --- a/functions.lua +++ b/functions.lua @@ -2889,7 +2889,6 @@ yl_speak_up.input_talk = function(player, formname, fields) -- the player wants to access the inventory of the NPC if(edit_mode and fields.show_inventory) then - local dialog = yl_speak_up.speak_to[pname].dialog -- the inventory is just an inventory with a back button; come back to this dialog here minetest.show_formspec(pname, "yl_speak_up:inventory", yl_speak_up.get_fs_inventory(player)) return