forked from Sokomine/yl_speak_up
effect deal_with_offered_item now properly returns true if true
This commit is contained in:
parent
05948116a0
commit
d5ad680999
@ -378,6 +378,9 @@ yl_speak_up.execute_effect = function(player, n_id, o_id, r)
|
||||
-- returning of any leftover items needs to happen after *all* effects
|
||||
-- are executed; we don't need to take any special preparations here
|
||||
|
||||
-- this action was a success
|
||||
return true
|
||||
|
||||
elseif(r.r_type == "dialog"
|
||||
or r.r_type == "on_failure") then
|
||||
-- this needs to be handled in the calling function
|
||||
|
Loading…
Reference in New Issue
Block a user