effect deal_with_offered_item now properly returns true if true

This commit is contained in:
Sokomine 2022-10-17 07:21:43 +02:00
parent 05948116a0
commit d5ad680999

View File

@ -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