Browse Source

Button from Text

Nikatlas 6 years ago
parent
commit
64b22f89a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Game/misc/Button.js

+ 1 - 0
src/Game/misc/Button.js

@@ -20,6 +20,7 @@ class Button extends PIXI.Sprite{
 
 
 
 
     _kill() {
     _kill() {
+        this.textNode._kill();
         this.destroy();
         this.destroy();
     }
     }