Fiddlesticks. Let's unify these update methods and do away entirely with the

old dangerous way of updating. We will now use only the timeless way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5574 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-12-05 00:51:37 +00:00
parent 62f393db95
commit c116f93a7b
4 changed files with 34 additions and 77 deletions
@@ -42,7 +42,7 @@ public class CrowdSession extends PresentsSession
if (_clobj != null) {
// note that the user is disconnected
BodyObject bobj = (BodyObject)_clobj;
_bodyman.updateOccupantStatus(bobj, bobj.location, OccupantInfo.DISCONNECTED);
_bodyman.updateOccupantStatus(bobj, OccupantInfo.DISCONNECTED);
}
}
@@ -53,7 +53,7 @@ public class CrowdSession extends PresentsSession
// note that the user's active once more
BodyObject bobj = (BodyObject)_clobj;
_bodyman.updateOccupantStatus(bobj, bobj.location, OccupantInfo.ACTIVE);
_bodyman.updateOccupantStatus(bobj, OccupantInfo.ACTIVE);
}
@Override
@@ -68,7 +68,7 @@ public class CrowdSession extends PresentsSession
// reset our status in case this object remains around until they start their next session
// (which could happen very soon)
_bodyman.updateOccupantStatus(body, null, OccupantInfo.ACTIVE);
_bodyman.updateOccupantStatus(body, OccupantInfo.ACTIVE);
// clear our chat history
if (body != null) {