Shaun 1 рік тому
джерело
коміт
edca72fb36
1 змінених файлів з 4 додано та 1 видалено
  1. +4
    -1
      src/server/world/atlas.js

+ 4
- 1
src/server/world/atlas.js Переглянути файл

@@ -87,8 +87,11 @@ module.exports = {
objects.removeObject(obj);

const thread = getThreadFromId(obj.zoneId);
if (!thread)
if (!thread) {
callback();

return;
}

if (thread.instanced && (await gePlayerCountInThread(thread)) === 1) {
this.removeObjectFromInstancedZone(thread, playerId, callback);


Завантаження…
Відмінити
Зберегти