forked from Sokomine/yl_speak_up
parent
76ba4075d1
commit
319f05edc5
@ -2340,6 +2340,11 @@ minetest.register_on_player_receive_fields(
|
|||||||
|
|
||||||
local n_dialog = dialog.n_dialogs[d_id]
|
local n_dialog = dialog.n_dialogs[d_id]
|
||||||
|
|
||||||
|
-- if there are no options, there can be no results either
|
||||||
|
if(not(n_dialog) or not(n_dialog.d_options)) then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local d_option = n_dialog.d_options[o]
|
local d_option = n_dialog.d_options[o]
|
||||||
|
|
||||||
-- Let's do something if results exist
|
-- Let's do something if results exist
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user