Only claim to have updates if we have a non-zero sized array.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@573 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -60,7 +60,7 @@ public class SceneMoveHandler extends AbstractSceneMoveHandler
|
|||||||
if (_version < model.version) {
|
if (_version < model.version) {
|
||||||
updates = scmgr.getUpdates(_version);
|
updates = scmgr.getUpdates(_version);
|
||||||
}
|
}
|
||||||
if (updates != null) {
|
if (updates != null && updates.length > 0) {
|
||||||
listener.moveSucceededWithUpdates(ploid, config, updates);
|
listener.moveSucceededWithUpdates(ploid, config, updates);
|
||||||
} else {
|
} else {
|
||||||
listener.moveSucceededWithScene(ploid, config, model);
|
listener.moveSucceededWithScene(ploid, config, model);
|
||||||
|
|||||||
Reference in New Issue
Block a user