Przeglądaj źródła

bug ##1854

tags/v0.10.6^2
Shaun 2 lat temu
rodzic
commit
ed9162a843
1 zmienionych plików z 5 dodań i 1 usunięć
  1. +5
    -1
      src/server/world/syncer.js

+ 5
- 1
src/server/world/syncer.js Wyświetl plik

@@ -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];
}
},



Ładowanie…
Anuluj
Zapisz