forked from Sokomine/yl_speak_up
fixed crash
This commit is contained in:
parent
45335caeda
commit
2eecc18bda
@ -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. "..
|
yl_speak_up.debug_msg(player, n_id, o_id, "All actions have been executed successfully. "..
|
||||||
"Doing effects/results now.")
|
"Doing effects/results now.")
|
||||||
-- execute all effects/results
|
-- 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 res = yl_speak_up.execute_all_relevant_effects(player, effects, o_id, true)
|
||||||
local target_dialog = res.next_dialog
|
local target_dialog = res.next_dialog
|
||||||
yl_speak_up.speak_to[pname].o_id = nil
|
yl_speak_up.speak_to[pname].o_id = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user