Don't generate garbage for 90001 and 90002

Minor change that moves the assignment of `data` because it's not needed in these messages.
This commit is contained in:
Sei Lisa 2018-08-23 19:39:07 +02:00
parent c13b14df07
commit f957c39745

View file

@ -750,7 +750,6 @@ default
}
if (id == MY_SITTER)
{
data = llParseStringKeepNulls(msg, ["|"], data);
if (num == 90001) // 90001=start an overlay animation
{
llStartAnimation(msg);
@ -761,6 +760,7 @@ default
llStopAnimation(msg);
return;
}
data = llParseStringKeepNulls(msg, ["|"], data);
if (num == 90101) // 90101=menu option chosen
{
CONTROLLER = llList2Key(data, 2);