Actually, this looks like the "right" way to do this - use the PlaceOid as our comparator.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@375 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -315,7 +315,7 @@ public class SpotSceneManager extends SceneManager
|
||||
|
||||
// make sure we're in the same scene as said user
|
||||
BodyObject friend = (BodyObject)tobj;
|
||||
if (!friend.location.equals(joiner.location)) {
|
||||
if (friend.getPlaceOid() != joiner.getPlaceOid()) {
|
||||
Log.info("Refusing cluster join from non-proximate user [joiner=" + joiner.who() +
|
||||
", jloc=" + joiner.location + ", target=" + friend.who() +
|
||||
", tloc=" + friend.location + "].");
|
||||
|
||||
Reference in New Issue
Block a user