forked from your-land-mirror/yl_speak_up
npc_gives no longer requires an explicit click on 'Done'
This commit is contained in:
parent
712f19656e
commit
045f9b51f0
@ -11,6 +11,10 @@ yl_speak_up.action_inv_changed = function(inv, listname, index, stack, player, h
|
||||
-- if not in edit mode: the player may just be normally interacting with the NPC;
|
||||
-- nothing to do for us here (wait for the player to click on "save")
|
||||
if(not(n_id) or yl_speak_up.edit_mode[pname] ~= n_id) then
|
||||
if(listname and listname == "npc_gives") then
|
||||
yl_speak_up.input_fs_action_npc_gives(player, "action_npc_gives", {})
|
||||
return
|
||||
end
|
||||
return
|
||||
end
|
||||
-- is the player in the process of editing an action of the npc_gives/npc_wants type?
|
||||
|
Loading…
Reference in New Issue
Block a user