Sfoglia il codice sorgente

Merge branch '64-chat-vanish-mob-die' into 'staging'

Fixes #64

See merge request !62
tags/v0.1.2^2
Big Bad Waffle 7 anni fa
parent
commit
2a7e9f0fd1
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