Browse Source

bug: fixed a crash

(cherry picked from commit 4fc6ccb1c9)
tags/v0.13.0.3
Shaun 6 months ago
committed by Big Bad Waffle
parent
commit
13c8a6ef13
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/world/atlas.js

+ 1
- 1
src/server/world/atlas.js View File

@@ -59,7 +59,7 @@ module.exports = {
const { thread, resetObjPosition } = await getThread(eGetThread);

//Perhaps the player disconnected while waiting for the thread to spawn
if (!obj.socket.connected) {
if (!serverObj.socket.connected) {
await killThreadIfEmpty(thread);

return;


Loading…
Cancel
Save