ask for initial_config at first talk

This commit is contained in:
Sokomine 2024-12-05 19:59:19 +01:00
parent 3cf9da85ca
commit 769b4046b4

View File

@ -447,7 +447,8 @@ yl_speak_up.get_fs_talkdialog = function(player, n_id, d_id, alternate_text, rec
elseif(d_id and d_id ~= "d_generic_start_dialog" and yl_speak_up.speak_to[pname].d_id ~= nil) then
c_d_id = yl_speak_up.speak_to[pname].d_id
active_dialog = dialog.n_dialogs[c_d_id]
elseif dialog.n_dialogs ~= nil then
-- do this only if the dialog is already configured/created_at:
elseif dialog.n_dialogs ~= nil and dialog.created_at then
-- Find the dialog with d_sort = 0
c_d_id = yl_speak_up.get_start_dialog_id(dialog)
if(c_d_id) then