change chattype on llRegionSayTo when sending to avatar viewer only.

Thanks Royale for pointing this
This commit is contained in:
UbitUmarov
2018-10-18 15:03:19 +01:00
parent 96acb48334
commit 877a78ce91
2 changed files with 2 additions and 1 deletions

View File

@@ -392,7 +392,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
if (channel == 0)
{
// Channel 0 goes to viewer ONLY
m_scene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Broadcast, 0, pos, name, id, target, false, false);
m_scene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Direct, 0, pos, name, id, target, false, false);
return;
}