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
This commit is contained in:
Michael Bayne
2002-09-13 05:08:00 +00:00
parent 05522ebf66
commit ba88c02650
@@ -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;