瀏覽代碼

removed catch and console log from atlas

tags/v0.1.10^2
Big Bad Waffle 6 年之前
父節點
當前提交
4bb4231b4f
共有 1 個檔案被更改,包括 2 行新增7 行删除
  1. +2
    -7
      src/server/world/atlas.js

+ 2
- 7
src/server/world/atlas.js 查看文件

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

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

getThreadFromId: function (id) {


Loading…
取消
儲存