From ba88c026502b6261b7b141f12d1bb48f0fb54d1b Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 13 Sep 2002 05:08:00 +0000 Subject: [PATCH] We need to clone the occupant info *every* time we update it, even the first time. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1679 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/crowd/server/PlaceManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/crowd/server/PlaceManager.java b/src/java/com/threerings/crowd/server/PlaceManager.java index d27f25417..e2086b361 100644 --- a/src/java/com/threerings/crowd/server/PlaceManager.java +++ b/src/java/com/threerings/crowd/server/PlaceManager.java @@ -1,5 +1,5 @@ // -// $Id: PlaceManager.java,v 1.33 2002/09/13 00:20:43 mdb Exp $ +// $Id: PlaceManager.java,v 1.34 2002/09/13 05:08:00 mdb Exp $ package com.threerings.crowd.server; @@ -269,8 +269,8 @@ public class PlaceManager // insert the occupant info into our canonical table _occInfo.put(info.getBodyOid(), info); - // and insert it into the place object - _plobj.addToOccupantInfo(info); + // clone the canonical copy and insert it into the DSet + _plobj.updateOccupantInfo((OccupantInfo)info.clone()); return info;