From e3535335e6919edab759ac4f66a9440c8fe21efe Mon Sep 17 00:00:00 2001 From: brightrim Date: Mon, 8 Jan 2024 20:32:40 +0100 Subject: [PATCH] messenger fix for script sent messages (cherry picked from commit a31b4d28d3619aa9ca4ac4c6a091162f1cd653b8) --- content/messenger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/messenger.lua b/content/messenger.lua index ff4fdf6f7..d046d49ac 100644 --- a/content/messenger.lua +++ b/content/messenger.lua @@ -180,7 +180,7 @@ local function sendScriptMessages(numberOfScriptMessages, recipient, contents) englishText4 = "" end - if foundGermanText1 and foundGermanText2 and foundGermanText3 and foundGermanText4 and foundEnglishText1 and foundEnglishText2 and foundEnglishText3 and foundEnglishText4 then + if foundGermanText1 and foundEnglishText1 then local texts = common.GetNLS(recipient, {germanText1, germanText2, germanText3, germanText4}, {englishText1, englishText2, englishText3, englishText4}) spawnParchment(recipient, texts, "", descriptionEnglish, descriptionGerman) table.insert(contents, {text = englishText1})