aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index ca340c6..37792ef 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2406,7 +2406,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2406 if (!module.CheckPermissions(npcId, m_host.OwnerID)) 2406 if (!module.CheckPermissions(npcId, m_host.OwnerID))
2407 return; 2407 return;
2408 2408
2409 module.DeleteNPC(npcId, World); 2409 Util.FireAndForget(delegate(object x) {
2410 module.DeleteNPC(npcId, World);
2411 });
2410 } 2412 }
2411 } 2413 }
2412 2414