trade_simple fs is shown in fs ver 1 again so that it fits

This commit is contained in:
Sokomine 2022-04-12 01:57:53 +02:00
parent 52d04e36e8
commit 6cadbd9b65

View File

@ -261,7 +261,7 @@ yl_speak_up.show_fs = function(player, fs_name, param)
param = yl_speak_up.speak_to[pname].trade_id
end
yl_speak_up.show_fs_ver(pname, "yl_speak_up:do_trade_simple",
yl_speak_up.get_fs_trade_simple(player, param))
yl_speak_up.get_fs_trade_simple(player, param), 1)
elseif(fs_name == "add_trade_simple") then
-- the optional parameter param is the trade_id
@ -269,7 +269,7 @@ yl_speak_up.show_fs = function(player, fs_name, param)
param = yl_speak_up.speak_to[pname].trade_id
end
yl_speak_up.show_fs_ver(pname, "yl_speak_up:add_trade_simple",
yl_speak_up.get_fs_add_trade_simple(player, param))
yl_speak_up.get_fs_add_trade_simple(player, param), 1)
elseif(fs_name == "initial_config") then
if(not(param)) then