diff --git a/functions.lua b/functions.lua index 55be52f..0f523b9 100644 --- a/functions.lua +++ b/functions.lua @@ -2917,6 +2917,10 @@ function yl_speak_up.talk(self, clicker) yl_speak_up.speak_to[pname].obj = self.object yl_speak_up.show_fs(clicker, "talk", {n_id = n_id}) + + if(not(dialog.trades)) then + dialog.trades = {} + end end -- ###