fixed crash in simple dialogs export
This commit is contained in:
parent
5f6f488788
commit
6e604b05d0
@ -38,7 +38,7 @@ yl_speak_up.export_to_simple_dialogs_language = function(dialog, n_id)
|
|||||||
table.insert(tmp, "\n")
|
table.insert(tmp, "\n")
|
||||||
for o_id, o_data in pairs(dialog.n_dialogs[d_id].d_options or {}) do
|
for o_id, o_data in pairs(dialog.n_dialogs[d_id].d_options or {}) do
|
||||||
local target_dialog = nil
|
local target_dialog = nil
|
||||||
for r_id, r_data in pairs(o_data.o_results) do
|
for r_id, r_data in pairs(o_data.o_results or {}) do
|
||||||
if(r_data.r_type and r_data.r_type == "dialog") then
|
if(r_data.r_type and r_data.r_type == "dialog") then
|
||||||
target_dialog = r_data.r_value
|
target_dialog = r_data.r_value
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user