BodyObject still derives from ClientObject, alas, but that no longer means a BodyObject is its own ClientObject. Make sure to send this notification to the right object.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1024 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -203,9 +203,12 @@ public class SceneRegistry
|
|||||||
// first remove them from their old place
|
// first remove them from their old place
|
||||||
_locman.leaveOccupiedPlace(source);
|
_locman.leaveOccupiedPlace(source);
|
||||||
|
|
||||||
// then send a forced move notification
|
// then send a forced move notification to their client
|
||||||
|
ClientObject clobj = source.getClientObject();
|
||||||
|
if (clobj != null) {
|
||||||
SceneSender.forcedMove(source, sceneId);
|
SceneSender.forcedMove(source, sceneId);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ejects the specified body from their current scene and zone. This is the zone equivalent to
|
* Ejects the specified body from their current scene and zone. This is the zone equivalent to
|
||||||
|
|||||||
Reference in New Issue
Block a user