corrected trade message when logging

This commit is contained in:
Sokomine 2022-09-10 01:18:50 +02:00
parent dc80271803
commit da99bd3f95

View File

@ -260,8 +260,8 @@ yl_speak_up.check_trade_via_buy_button = function(player, trade_id, do_trade)
yl_speak_up.speak_to[pname].trade_done = yl_speak_up.speak_to[pname].trade_done + 1
-- log the trade
yl_speak_up.log_change(pname, n_id,
"bought "..tostring(pay_stack:to_string())..
" for "..tostring(buy_stack:to_string()))
"bought "..tostring(buy_stack:to_string())..
" for "..tostring(pay_stack:to_string()))
return {msg = "OK", stock = stock}
end