fix undeclared global error

This commit is contained in:
FaceDeer 2019-08-16 13:32:00 -06:00
parent 9492d6762e
commit f3cd242b16

View File

@ -372,7 +372,7 @@ local get_market_formspec = function(market, account)
local buy_count = #buy_orders
-- Show buy orders in reverse order
for i = buy_count, 1, -1 do
buy = buy_orders[i]
local buy = buy_orders[i]
buy_volume = buy_volume + buy.quantity
formspec[#formspec+1] = ",#00FF00,"..S("Buy")..","
..buy.price..","