forked from Sokomine/yl_speak_up
don't store no group selected for player_offered_item
This commit is contained in:
parent
42233f59a1
commit
127263813e
@ -657,7 +657,8 @@ yl_speak_up.save_element_p_or_a_or_e = function(
|
||||
"button[1.5,2.0;2,0.9;back_from_error_msg;Back]"})
|
||||
return
|
||||
end
|
||||
if(data.item_group and data.item_group ~= "") then
|
||||
if(data.item_group and data.item_group ~= ""
|
||||
and data.item_group ~= "- no, just this one item -") then
|
||||
v["p_item_group"] = data.item_group
|
||||
end
|
||||
local player_inv = player:get_inventory()
|
||||
|
Loading…
Reference in New Issue
Block a user