Browse Source

Merge branch 'master' into 'v0.1.9'

# Conflicts:
#   src/server/mods/event-xmas/maps/tutorial/events/xmas.js
tags/v0.1.9^2
Big Bad Waffle 6 years ago
parent
commit
7d4d07863f
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/server/world/atlas.js

+ 7
- 2
src/server/world/atlas.js View File

@@ -110,8 +110,13 @@ define([

send: function (zone, msg) {
var thread = this.getThreadFromId(zone);
if (thread)
thread.worker.send(msg);
if (thread) {
try {
thread.worker.send(msg);
} catch (e) {
console.log(msg);
}
}
},

getThreadFromId: function (id) {


Loading…
Cancel
Save