fixed crash

This commit is contained in:
Sokomine 2021-07-18 01:49:05 +02:00
parent 45335caeda
commit 2eecc18bda

View File

@ -211,7 +211,6 @@ yl_speak_up.execute_next_action = function(player, a_id, result_of_a_id)
yl_speak_up.debug_msg(player, n_id, o_id, "All actions have been executed successfully. "..
"Doing effects/results now.")
-- execute all effects/results
local effects = dialog.n_dialogs[d_id].d_options[o_id].o_results
local res = yl_speak_up.execute_all_relevant_effects(player, effects, o_id, true)
local target_dialog = res.next_dialog
yl_speak_up.speak_to[pname].o_id = nil