mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-23 15:48:03 +02:00
fixed missing global n_id in exec_actions.lua
This commit is contained in:
parent
ab9745ee01
commit
b70bdc60b9
@ -721,6 +721,7 @@ yl_speak_up.input_fs_action_evaluate = function(player, formname, fields)
|
|||||||
if(player and a and a.a_value) then
|
if(player and a and a.a_value) then
|
||||||
local custom_data = yl_speak_up.custom_functions_a_[a.a_value]
|
local custom_data = yl_speak_up.custom_functions_a_[a.a_value]
|
||||||
if(custom_data and custom_data.code_input_handler) then
|
if(custom_data and custom_data.code_input_handler) then
|
||||||
|
local n_id = yl_speak_up.speak_to[pname].n_id
|
||||||
local fun = custom_data.code_input_handler
|
local fun = custom_data.code_input_handler
|
||||||
-- actually call the function (which may change the value of fields)
|
-- actually call the function (which may change the value of fields)
|
||||||
fields = fun(player, n_id, a, formname, fields)
|
fields = fun(player, n_id, a, formname, fields)
|
||||||
|
Loading…
Reference in New Issue
Block a user