Browse Source

bug ##1854

tags/v0.10.6^2
Shaun 2 years ago
parent
commit
ed9162a843
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/server/world/syncer.js

+ 5
- 1
src/server/world/syncer.js View File

@@ -172,7 +172,11 @@ module.exports = {
for (let p in buffer) {
const list = buffer[p];

list.spliceWhere(l => l.to === targetServerId);
list.forEach(l => l.to.splice(f => f === targetServerId));
list.spliceWhere(l => !l.to.length);

if (!list.length)
delete buffer[p];
}
},



Loading…
Cancel
Save