Use strReplace where it simplifies reading and saves code.

This commit is contained in:
Sei Lisa 2017-10-07 12:24:35 +02:00 committed by Sei-Lisa
parent fc69221896
commit 6e8c23a858
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@ default
string part0 = llList2String(parts, 0);
if (command == "TEXT")
{
CUSTOM_TEXT = llDumpList2String(llParseStringKeepNulls(part0, ["\\n"], []), "\n") + "\n";
CUSTOM_TEXT = strReplace(part0, "\\n", "\n") + "\n";
}
else if (command == "SITTER")
{