Parcourir la source

bug #1990

tags/v0.12.0.11^2
Shaun il y a 1 an
Parent
révision
edca72fb36
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      src/server/world/atlas.js

+ 4
- 1
src/server/world/atlas.js Voir le fichier

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


Chargement…
Annuler
Enregistrer