If a client somehow has a higher version scene than we do, tell them all
about the current scene model instead of informing them that the version they have is OK. It's not ok! git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@25 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -135,9 +135,12 @@ public class SceneProvider
|
||||
|
||||
// check to see if they need a newer version of the scene data
|
||||
SceneModel model = scmgr.getScene().getSceneModel();
|
||||
if (sceneVersion < model.version) {
|
||||
// try getting updates
|
||||
SceneUpdate[] updates = scmgr.getUpdates(sceneVersion);
|
||||
if (sceneVersion != model.version) {
|
||||
SceneUpdate[] updates = null;
|
||||
if (sceneVersion < model.version) {
|
||||
// try getting updates to bring the client to the right version
|
||||
updates = scmgr.getUpdates(sceneVersion);
|
||||
}
|
||||
if (updates != null) {
|
||||
listener.moveSucceededWithUpdates(ploid, config, updates);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user