diff --git a/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java b/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java index 794683f69..8ea2f4d0a 100644 --- a/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java +++ b/src/java/com/threerings/whirled/spot/server/SpotSceneManager.java @@ -1,5 +1,5 @@ // -// $Id: SpotSceneManager.java,v 1.48 2003/12/09 20:57:14 mdb Exp $ +// $Id: SpotSceneManager.java,v 1.49 2003/12/11 22:50:55 mdb Exp $ package com.threerings.whirled.spot.server; @@ -319,11 +319,20 @@ public class SpotSceneManager extends SceneManager // otherwise we create a new cluster and add our charter members! // Log.debug("Creating cluster [starter=" + joiner.who() + // ", target=" + friend.who() + "]."); - clrec = new ClusterRecord(); + clrec = createClusterRecord(); clrec.addBody(friend); clrec.addBody(joiner); } + /** + * Creates the cluster record instance that we'll use to manage our + * cluster. + */ + protected ClusterRecord createClusterRecord () + { + return new ClusterRecord(); + } + /** * Gives derived classes an opportunity to veto a user's attempt to * start a cluster with another user. If the attempt should be vetoed,