removed unused variable

This commit is contained in:
Sokomine 2021-05-28 22:00:07 +02:00
parent f3082b7637
commit 0652cf7f5a

View File

@ -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