mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fix avatars going to corner of region when they are sitting on a child prim and the prim is deleted.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
e245638f24
commit
0faba7dc33
@@ -1421,7 +1421,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
Scene.ForEachScenePresence(sp =>
|
||||
{
|
||||
if (!sp.IsChildAgent && sp.ParentID == LocalId)
|
||||
if (!sp.IsChildAgent && sp.ParentID == part.LocalId)
|
||||
sp.StandUp();
|
||||
|
||||
if (!silent)
|
||||
|
||||
Reference in New Issue
Block a user