Don't issue an ALREADY_THERE response if a user requests to move to a zone
they already occupy. When a client logs on after a disconnect, it needs to do a zoned moveTo request to get back to where it was because it doesn't have the zone summary and associated good stuff. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1326 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ZoneProvider.java,v 1.6 2002/04/15 16:28:05 shaper Exp $
|
||||
// $Id: ZoneProvider.java,v 1.7 2002/05/03 00:00:17 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.zone.server;
|
||||
|
||||
@@ -62,12 +62,6 @@ public class ZoneProvider
|
||||
return;
|
||||
}
|
||||
|
||||
// make sure they're not already in that zone
|
||||
if (((ZonedBodyObject)source).getZoneId() == zoneId) {
|
||||
sendResponse(source, invid, MOVE_FAILED_RESPONSE, ALREADY_THERE);
|
||||
return;
|
||||
}
|
||||
|
||||
// avoid cluttering up the method declaration with final keywords
|
||||
final BodyObject fsource = source;
|
||||
final int finvid = invid;
|
||||
|
||||
Reference in New Issue
Block a user