forked from Sokomine/yl_speak_up
better handling of esc in edit options dialog
This commit is contained in:
parent
d3a9d20d43
commit
cb49d9cfe2
@ -21,7 +21,9 @@ yl_speak_up.input_edit_option_dialog = function(player, formname, fields)
|
||||
|
||||
-- this meny is specific to an option for a dialog; if no dialog is selected, we really
|
||||
-- can't know what to do
|
||||
if(not(d_id) or not(o_id)) then
|
||||
if(not(o_id) and d_id) then
|
||||
yl_speak_up.show_fs(player, "talk", {n_id = n_id, d_id = d_id})
|
||||
elseif(not(d_id)) then
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user