allow to create d_got_item again
This commit is contained in:
parent
498e58cd72
commit
5e477b0b3e
@ -30,7 +30,7 @@ yl_speak_up.input_talk = function(player, formname, fields)
|
|||||||
local result = yl_speak_up.edit_mode_apply_changes(pname, fields)
|
local result = yl_speak_up.edit_mode_apply_changes(pname, fields)
|
||||||
-- o is only nil if the old function returned nil; it does that
|
-- o is only nil if the old function returned nil; it does that
|
||||||
-- when it found a fitting reaction to a button press
|
-- when it found a fitting reaction to a button press
|
||||||
if(not(o) and not(fields.button_start_edit_mode)) then
|
if(not(o) and not(fields.button_start_edit_mode) and not(fields.player_offers_item)) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local n_id = yl_speak_up.speak_to[pname].n_id
|
local n_id = yl_speak_up.speak_to[pname].n_id
|
||||||
|
Loading…
Reference in New Issue
Block a user