fixed undeclared globals
This commit is contained in:
parent
d7f0abb841
commit
f2f8195285
@ -730,6 +730,7 @@ yl_speak_up.get_fs_action_text_input = function(player, param)
|
||||
true)
|
||||
|
||||
local h = 2.0
|
||||
local pname_for_old_fs = nil
|
||||
h = yl_speak_up.add_edit_button_fs_talkdialog(formspec, h,
|
||||
"finished_action",
|
||||
"Please enter your answer in the input field above and click here to "..
|
||||
|
@ -275,6 +275,7 @@ yl_speak_up.add_new_option = function(dialog, pname, next_id, d_id, option_text,
|
||||
local s = yl_speak_up.sanitize_sort(dialog.n_dialogs[d_id].d_options, yl_speak_up.speak_to[pname].o_sort)
|
||||
dialog.n_dialogs[d_id].d_options[future_o_id].o_sort = s
|
||||
-- log only in edit mode
|
||||
local n_id = yl_speak_up.speak_to[pname].n_id
|
||||
if(yl_speak_up.npc_was_changed[ n_id ]) then
|
||||
table.insert(yl_speak_up.npc_was_changed[ n_id ],
|
||||
"Dialog "..d_id..": Added new option/answer "..future_o_id..".")
|
||||
|
Loading…
Reference in New Issue
Block a user