forked from Sokomine/yl_speak_up
do not add dialogs to d_end
This commit is contained in:
parent
608935277f
commit
7f60031ab1
@ -425,7 +425,8 @@ yl_speak_up.get_fs_edit_option_dialog = function(player, n_id, d_id, o_id, calle
|
||||
-- the buttons are inside a container; thus, Y is 0.0
|
||||
"button[2.4,0.0;2.0,0.9;add_option;Add]"..
|
||||
"tooltip[add_option;Add a new option/answer to this dialog.]"
|
||||
if(anz_options >= yl_speak_up.max_number_of_options_per_dialog) then
|
||||
if(anz_options >= yl_speak_up.max_number_of_options_per_dialog
|
||||
or target_dialog == "d_end") then
|
||||
button_add = ""
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user