Sfoglia il codice sorgente

Fixes #64

tags/v0.1.2^2
bigbadwaffle 7 anni fa
parent
commit
53232a103f
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. +10
    -0
      src/client/js/components/chatter.js

+ 10
- 0
src/client/js/components/chatter.js Vedi File

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

this.cd = this.cdMax;
},

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

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

Caricamento…
Annulla
Salva