diff --git a/src/server/world/atlas.js b/src/server/world/atlas.js index cfb32d91..dcd1389f 100644 --- a/src/server/world/atlas.js +++ b/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);