|
|
@@ -31,7 +31,11 @@ module.exports = { |
|
|
|
updateZoneEmpty: function (objects, oList, oLen) { |
|
|
|
for (let i = 0; i < oLen; i++) { |
|
|
|
let o = oList[i]; |
|
|
|
if (!o.destroyed) |
|
|
|
|
|
|
|
if (o.new) |
|
|
|
delete o.new; |
|
|
|
|
|
|
|
if (!o.destroyed) |
|
|
|
continue; |
|
|
|
|
|
|
|
objects.removeObject(o); |
|
|
@@ -146,6 +150,9 @@ module.exports = { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (o.new) |
|
|
|
delete o.new; |
|
|
|
|
|
|
|
if (sendTo) |
|
|
|
queueFunction(sync, toList); |
|
|
|
if (sendComplete) |
|
|
|