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,8 +203,11 @@ public class SceneRegistry
|
||||
// first remove them from their old place
|
||||
_locman.leaveOccupiedPlace(source);
|
||||
|
||||
// then send a forced move notification
|
||||
SceneSender.forcedMove(source, sceneId);
|
||||
// then send a forced move notification to their client
|
||||
ClientObject clobj = source.getClientObject();
|
||||
if (clobj != null) {
|
||||
SceneSender.forcedMove(source, sceneId);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user