clean up and fixing a typo.

0.6.0-stable
Dr Scofield 2008-09-03 11:58:36 +00:00
parent dba779862d
commit 3d101de375
2 changed files with 3 additions and 2 deletions

View File

@ -299,7 +299,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
// Outside of this method, they should never be added to objectflags! // Outside of this method, they should never be added to objectflags!
// -teravus // -teravus
SceneObjectPart task=m_scene.GetSceneObjectPart(objID); SceneObjectPart task = m_scene.GetSceneObjectPart(objID);
// this shouldn't ever happen.. return no permissions/objectflags. // this shouldn't ever happen.. return no permissions/objectflags.
if (task == null) if (task == null)

View File

@ -571,8 +571,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
public void ResetScript() public void ResetScript()
{ {
if (m_script == null) if (m_Script == null)
return; return;
bool running = Running; bool running = Running;
RemoveState(); RemoveState();