Change threat level of osNpcStopMoveToTarget from Low to High to match other NPC functions, and change OSSL permissions name to osNpcStopMoveToTarget instead of osNpcStopMoveTo
Thanks to Oren Hurvitz for pointing out these mistakes.0.7.4.1
parent
1ad3fdb40b
commit
eced091689
|
@ -2514,7 +2514,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
public void osNpcStopMoveToTarget(LSL_Key npc)
|
public void osNpcStopMoveToTarget(LSL_Key npc)
|
||||||
{
|
{
|
||||||
CheckThreatLevel(ThreatLevel.VeryLow, "osNpcStopMoveTo");
|
CheckThreatLevel(ThreatLevel.High, "osNpcStopMoveToTarget");
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
|
|
||||||
INPCModule module = World.RequestModuleInterface<INPCModule>();
|
INPCModule module = World.RequestModuleInterface<INPCModule>();
|
||||||
|
|
Loading…
Reference in New Issue