aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-07 18:41:46 +0000
committerUbitUmarov2017-01-07 18:41:46 +0000
commiteffa32cfa4cc252e9d52d536af510b4e1e92337c (patch)
tree58696b3dc64598d9b17c7c9b2da80dd93e8db133 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
parentrename same variables to make their meaning more clear (diff)
downloadopensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.zip
opensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.tar.gz
opensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.tar.bz2
opensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.tar.xz
replace godlevel compares by the new faster bool isViewerUIGod
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
index c7e7f89..bd53700 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
@@ -540,7 +540,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
540 } 540 }
541 } 541 }
542 542
543 if (presence.IsDeleted || presence.IsChildAgent || presence.GodController.GodLevel > 0.0) 543 if (presence.IsDeleted || presence.IsChildAgent || presence.isViewerUIGod)
544 return; 544 return;
545 545
546 // if the object the script is in is attached and the avatar is the owner 546 // if the object the script is in is attached and the avatar is the owner