mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-11-21 22:48:00 +01:00
do not change d_sort of other dialogs when changing the start dialog
This commit is contained in:
parent
8e0f53fdb5
commit
40e7fc2087
@ -281,7 +281,7 @@ yl_speak_up.update_start_dialog = function(log, dialog, start_dialog_name)
|
|||||||
d.is_a_start_dialog = true
|
d.is_a_start_dialog = true
|
||||||
elseif(not(d.d_sort) or d.d_sort == 0) then
|
elseif(not(d.d_sort) or d.d_sort == 0) then
|
||||||
-- all other dialogs are not *the* start dialog
|
-- 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
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user