diff --git a/fs/fs_talkdialog_edit_mode.lua b/fs/fs_talkdialog_edit_mode.lua index 4b7645e..611fffb 100644 --- a/fs/fs_talkdialog_edit_mode.lua +++ b/fs/fs_talkdialog_edit_mode.lua @@ -30,7 +30,7 @@ yl_speak_up.input_talk = function(player, formname, fields) local result = yl_speak_up.edit_mode_apply_changes(pname, fields) -- o is only nil if the old function returned nil; it does that -- when it found a fitting reaction to a button press - if(not(o) and not(fields.button_start_edit_mode)) then + if(not(o) and not(fields.button_start_edit_mode) and not(fields.player_offers_item)) then return end local n_id = yl_speak_up.speak_to[pname].n_id