fixed bug in trade_simple

This commit is contained in:
Sokomine 2022-09-26 02:40:53 +02:00
parent 87a2ea1f2d
commit 5bd0bf23f3

View File

@ -203,7 +203,7 @@ yl_speak_up.get_fs_add_trade_simple = function(player, trade_id)
-- is this player allowed to edit the NPC and his trades? If not abort.
if(not(yl_speak_up.may_edit_npc(player, n_id)) or not(dialog) or not(dialog.n_npc)) then
return formspec..
return "size[9,2]"..
"label[2.0,1.8;Ups! Something went wrong.]"..
"button[6.2,1.6;2.0,0.9;abort_trade_simple;Back]"
end