One day perhaps we'll consider a world where clients can flit between bodies willy nilly and bodies don't necessarily have a client attached to them, but until that day, we're going to require that BodyObject.getClientObject() returns non-null when the body is in the wild.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1026 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -203,11 +203,8 @@ 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 to their client
|
// then send a forced move notification to their client object
|
||||||
ClientObject clobj = source.getClientObject();
|
SceneSender.forcedMove(source.getClientObject(), sceneId);
|
||||||
if (clobj != null) {
|
|
||||||
SceneSender.forcedMove(clobj, sceneId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user