diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index dfe8386..01a5e34 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -877,7 +877,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
877 | return (DateTime.Now - m_EventStart).Seconds; | 877 | return (DateTime.Now - m_EventStart).Seconds; |
878 | } | 878 | } |
879 | 879 | ||
880 | public void ResetScript() | 880 | public void ResetScript(int timeout) |
881 | { | 881 | { |
882 | if (m_Script == null) | 882 | if (m_Script == null) |
883 | return; | 883 | return; |
@@ -887,7 +887,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
887 | RemoveState(); | 887 | RemoveState(); |
888 | ReleaseControls(); | 888 | ReleaseControls(); |
889 | 889 | ||
890 | Stop(0); | 890 | Stop(timeout); |
891 | SceneObjectPart part = Engine.World.GetSceneObjectPart(LocalID); | 891 | SceneObjectPart part = Engine.World.GetSceneObjectPart(LocalID); |
892 | part.Inventory.GetInventoryItem(ItemID).PermsMask = 0; | 892 | part.Inventory.GetInventoryItem(ItemID).PermsMask = 0; |
893 | part.Inventory.GetInventoryItem(ItemID).PermsGranter = UUID.Zero; | 893 | part.Inventory.GetInventoryItem(ItemID).PermsGranter = UUID.Zero; |