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);


Зареждане…
Отказ
Запис