fixed bug (called function in wrong mod)

This commit is contained in:
Sokomine 2022-09-08 23:19:58 +02:00
parent 1eb272ecb2
commit 0d88093a45

View File

@ -138,12 +138,12 @@ yl_speak_up.get_fs_trade_limit = function(player, selected)
-- everything for which there's already a sell_if_more limit
for k,v in pairs(dialog.trades.limits.sell_if_more) do
mob_trading.insert_item_limitation( items, k, 2, v )
yl_speak_up.insert_trade_item_limitation( items, k, 2, v )
end
-- everything for which there's already a buy_if_less limit
for k,v in pairs(dialog.trades.limits.buy_if_less ) do
mob_trading.insert_item_limitation( items, k, 3, v )
yl_speak_up.insert_trade_item_limitation( items, k, 3, v )
end
-- all items for which limitations might possibly be needed have been collected;