Our invocation adapters now expect success first.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@790 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -325,15 +325,11 @@ public class SceneDirector extends BasicDirector
|
||||
var pendingData :PendingData = _pendingData;
|
||||
// ship on over to the other server
|
||||
_wctx.getClient().moveToServer(hostname, ports, new ConfirmAdapter(
|
||||
function (reason :String) :void { // failed
|
||||
requestFailed(reason);
|
||||
},
|
||||
function () :void { // succeeded
|
||||
// resend our move request now that we're connected to the new server
|
||||
_pendingData = pendingData;
|
||||
sendMoveRequest();
|
||||
}
|
||||
));
|
||||
}, requestFailed));
|
||||
}
|
||||
|
||||
// from interface SceneService_SceneMoveListener
|
||||
|
||||
Reference in New Issue
Block a user