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

@ -599,7 +599,7 @@ default
}
if (command == "TEXT")
{
custom_text = llDumpList2String(llParseStringKeepNulls(part0, ["\\n"], []), "\n");
custom_text = strReplace(part0, "\\n", "\n");
}
part0 = llGetSubString(part0, 0, 22);
if (command == "MENU")