mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-07-24 22:38:53 +02:00
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;
|
-- 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")
|
-- 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(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
|
return
|
||||||
end
|
end
|
||||||
-- is the player in the process of editing an action of the npc_gives/npc_wants type?
|
-- 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