From 0652cf7f5a0ec2f6ac87d5831d20e5f48980a3d4 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Fri, 28 May 2021 22:00:07 +0200 Subject: [PATCH] removed unused variable --- functions.lua | 1 - 1 file changed, 1 deletion(-) 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