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:
Michael Bayne
2008-03-18 23:49:53 +00:00
parent 5710ea9d37
commit b1e4460f0f
@@ -60,7 +60,7 @@ public class SceneMoveHandler extends AbstractSceneMoveHandler
if (_version < model.version) {
updates = scmgr.getUpdates(_version);
}
if (updates != null) {
if (updates != null && updates.length > 0) {
listener.moveSucceededWithUpdates(ploid, config, updates);
} else {
listener.moveSucceededWithScene(ploid, config, model);