diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs index 6317e43..7b53388 100644 --- a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs +++ b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs | |||
@@ -169,7 +169,7 @@ namespace OpenSim.Region.Scenes | |||
169 | uint res = 0; | 169 | uint res = 0; |
170 | foreach (Entity entity in this.Entities.Values) | 170 | foreach (Entity entity in this.Entities.Values) |
171 | { | 171 | { |
172 | if (entity is Avatar) | 172 | if (entity is ScenePresence) |
173 | { | 173 | { |
174 | res = entity.LocalId; | 174 | res = entity.LocalId; |
175 | } | 175 | } |