diff --git a/extensions/reviewed/AutoTyping.json b/extensions/reviewed/AutoTyping.json index 25d3f817c..6591b43b8 100644 --- a/extensions/reviewed/AutoTyping.json +++ b/extensions/reviewed/AutoTyping.json @@ -9,7 +9,7 @@ "name": "AutoTyping", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/typewriter.svg", "shortDescription": "Typewriter text reveal effect, one letter at a time. For Text/BitmapText objects.", - "version": "2.2.0", + "version": "2.2.1", "description": [ "Reveal a text one letter after the other (a \"typewriter\" effect).", "", @@ -405,7 +405,7 @@ "Object", "Text", "=", - "SubStr(FullText, 0, StrFindFrom(FullText, \" \", StrLength(TypedText) + 1))" + "SubStr(FullText, 0, min(StrFindFrom(FullText + \" \", \" \", StrLength(TypedText) + 1), StrFindFrom(FullText + NewLine(), NewLine(), StrLength(TypedText) + 1)))" ] } ],