do not change d_sort of other dialogs when changing the start dialog

This commit is contained in:
Sokomine 2025-01-09 18:01:28 +01:00
parent 8e0f53fdb5
commit 40e7fc2087

View File

@ -281,7 +281,7 @@ yl_speak_up.update_start_dialog = function(log, dialog, start_dialog_name)
d.is_a_start_dialog = true
elseif(not(d.d_sort) or d.d_sort == 0) then
-- all other dialogs are not *the* start dialog
d.d_sort = 1
d.d_sort = d.d_sort or tonumber(string.sub(d_id, 3)) or 1
end
end
end