From 6611e60c1c78101fb368542bc15ee79795960530 Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Tue, 19 Sep 2006 20:56:20 +0000 Subject: [PATCH] We cannot check this here - the cluster is guaranteed to be size == 0 on the first insertion since we can't have called addBody until the constructor finishes. It used to be in objectAvailable which worked because it happened after the addBody calls were allowed to happen. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@74 c613c5cb-e716-0410-b11b-feb51c14d237 --- .../threerings/whirled/spot/server/SpotSceneManager.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java b/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java index 39a2eb69..6dfc7ca3 100644 --- a/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java +++ b/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java @@ -479,12 +479,6 @@ public class SpotSceneManager extends SceneManager // configure our cluster record and publish it _cluster.clusterOid = _clobj.getOid(); _ssobj.addToClusters(_cluster); - - // if we didn't manage to add our creating user when we first - // started up, there's no point in our sticking around - if (size() == 0) { - destroy(true); - } } public boolean addBody (BodyObject body)