fixed bug in display of editing trades
This commit is contained in:
parent
244377b2a9
commit
7cbb394b60
@ -2145,8 +2145,8 @@ yl_speak_up.get_fs_edit_option_action_trade = function(
|
||||
-- show the player which trade is stored
|
||||
local bg_img = ""
|
||||
if(data and data.buy and data.pay) then
|
||||
bg_img = "item_image[2.15,4.35;0.7,0.7;"..tostring(data.buy).."]"..
|
||||
"item_image[5.15,4.35;0.7,0.7;"..tostring(data.pay).."]"
|
||||
bg_img = "item_image[1.15,4.35;0.7,0.7;"..tostring(data.pay).."]"..
|
||||
"item_image[6.15,4.35;0.7,0.7;"..tostring(data.buy).."]"
|
||||
end
|
||||
yl_speak_up.speak_to[pname].trade_id = data.trade_id
|
||||
return formspec..
|
||||
|
Loading…
Reference in New Issue
Block a user