瀏覽代碼

Fixes #64

tags/v0.1.2^2
bigbadwaffle 7 年之前
父節點
當前提交
53232a103f
共有 1 個檔案被更改,包括 10 行新增0 行删除
  1. +10
    -0
      src/client/js/components/chatter.js

+ 10
- 0
src/client/js/components/chatter.js 查看文件

@@ -56,6 +56,16 @@ define([
obj.chatSprite.visible = true; obj.chatSprite.visible = true;


this.cd = this.cdMax; this.cd = this.cdMax;
},

destroy: function() {
var chatSprite = this.obj.chatSprite;
if (!chatSprite)
return;

renderer.destroyObject({
sprite: chatSprite
});
} }
}; };
}); });

Loading…
取消
儲存