show more formspecs in the correct version

This commit is contained in:
Sokomine 2022-09-27 23:51:43 +02:00
parent 11e555e639
commit dffd17a44b

View File

@ -364,19 +364,19 @@ yl_speak_up.show_fs = function(player, fs_name, param)
-- action related
elseif(fs_name == "action_npc_gives") then
yl_speak_up.show_fs_ver(pname, "yl_speak_up:action_npc_gives",
yl_speak_up.get_fs_action_npc_gives(player, param))
yl_speak_up.get_fs_action_npc_gives(player, param), 1)
elseif(fs_name == "action_npc_wants") then
yl_speak_up.show_fs_ver(pname, "yl_speak_up:action_npc_wants",
yl_speak_up.get_fs_action_npc_wants(player, param))
yl_speak_up.get_fs_action_npc_wants(player, param), 1)
elseif(fs_name == "action_text_input") then
yl_speak_up.show_fs_ver(pname, "yl_speak_up:action_text_input",
yl_speak_up.get_fs_action_text_input(player, param))
yl_speak_up.get_fs_action_text_input(player, param), 1)
elseif(fs_name == "action_evaluate") then
yl_speak_up.show_fs_ver(pname, "yl_speak_up:action_evaluate",
yl_speak_up.get_fs_action_evaluate(player, param))
yl_speak_up.get_fs_action_evaluate(player, param), 1)
elseif(fs_name == "manage_variables") then
yl_speak_up.show_fs_ver(pname, "yl_speak_up:manage_variables",