diff --git a/fs_edit_general.lua b/fs_edit_general.lua index 52ab2b6..b626930 100644 --- a/fs_edit_general.lua +++ b/fs_edit_general.lua @@ -27,7 +27,7 @@ minetest.register_chatcommand( 'npc_talk_debug', { description = "Sets you as debugger for the yl_speak_up-NPC with the ID .\n".. " lists the NPC you are currently debugging.\n".. " turns debug mode off again.", - privs = {npc_talk_owner}, + privs = {npc_talk_owner = true}, func = function(pname, param) if(param and param == "off") then local count = 0 diff --git a/fs_save_or_discard_or_back.lua b/fs_save_or_discard_or_back.lua index 0de918b..ec57405 100644 --- a/fs_save_or_discard_or_back.lua +++ b/fs_save_or_discard_or_back.lua @@ -86,6 +86,7 @@ yl_speak_up.get_fs_save_or_discard_changes = function(player, param) local n_id = yl_speak_up.speak_to[pname].n_id -- TODO local target_name = "quit" + local target_dialog = nil -- TODO if(target_dialog and target_dialog ~= "") then target_name = "go on to dialog "..minetest.formspec_escape(target_dialog) if(target_dialog == "edit_option_dialog") then